Skip to content

fix(template, ios): add marketing version to template project #35012

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from

Conversation

kelset
Copy link
Contributor

@kelset kelset commented Oct 18, 2022

Summary

Recently this PR got merged #34919 that aligned the info.plist to the current default. Problem: the variable MARKETING_VERSION was not set in the template, so generating a new project and testing on iOS would fail accordingly:

Screenshot 2022-10-18 at 15 27 27

This PR takes care of setting the variable so that the app can build successfully.

Changelog

[iOS] [Fixed] - add MARKETING_VERSION to template project

Test Plan

Run yarn test-e2e-local -t RNTestProject, apps builds correctly and runs on simulator.

@kelset kelset requested a review from cipolleschi October 18, 2022 14:40
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Oct 18, 2022
@kelset kelset mentioned this pull request Oct 18, 2022
@facebook-github-bot facebook-github-bot added Contributor A React Native contributor. p: Microsoft Partner: Microsoft Partner labels Oct 18, 2022
@react-native-bot react-native-bot added Bug Platform: iOS iOS applications. labels Oct 18, 2022
@facebook-github-bot
Copy link
Contributor

@cortinico has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

Copy link
Contributor

@cipolleschi cipolleschi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also tested this locally, by changing the version in Xcode and it updates the MARKETING_VERSION

@analysis-bot
Copy link

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: f6cfcc3
Branch: main

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @kelset in 33e140f.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Oct 18, 2022
@kelset kelset deleted the kelset/fix-template-ios branch October 19, 2022 09:15
OlimpiaZurek pushed a commit to OlimpiaZurek/react-native that referenced this pull request May 22, 2023
…ok#35012)

Summary:
Recently this PR got merged facebook#34919 that aligned the info.plist to the current default. Problem: the variable `MARKETING_VERSION` was not set in the template, so generating a new project and testing on iOS would fail accordingly:

<img width="1400" alt="Screenshot 2022-10-18 at 15 27 27" src="https://user-images.githubusercontent.com/16104054/196461640-470079f5-0f64-471f-8221-0d17f2b0114f.png">

This PR takes care of setting the variable so that the app can build successfully.

## Changelog

<!-- Help reviewers and the release process by writing your own changelog entry. For an example, see:
https://reactnative.dev/contributing/changelogs-in-pull-requests
-->

[iOS] [Fixed] - add MARKETING_VERSION to template project

Pull Request resolved: facebook#35012

Test Plan: Run `yarn test-e2e-local -t RNTestProject`, apps builds correctly and runs on simulator.

Reviewed By: cipolleschi

Differential Revision: D40472420

Pulled By: cortinico

fbshipit-source-id: 18ddd57ce54186a101321583a7a8391e97ca9511
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Contributor A React Native contributor. Merged This PR has been merged. p: Microsoft Partner: Microsoft Partner Platform: iOS iOS applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants