Skip to content
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

Guide for updating project.pbxproj files in ios directory #270

Open
beqramo opened this issue May 18, 2021 · 2 comments
Open

Guide for updating project.pbxproj files in ios directory #270

beqramo opened this issue May 18, 2021 · 2 comments

Comments

@beqramo
Copy link

beqramo commented May 18, 2021

Question

Hi, there are always many changes in that file and sometimes it is too complicated to update. can anyone write here some guide that will help others too?.

@jmeistrich
Copy link

It seems like it's impossible for "react-native upgrade" to ever work successfully because of the pbxproj changes, which requires using the upgrade-helper tool, and then the changes in the upgrade helper are incomprehensible, especially for junior developers unfamiliar with the file format.

The changes always seem to include tons of project ID changes for the RN test projects, or sometimes just re-ordering within the file. Can the pbxproj file be cleaned up before publishing updates? Then the upgrade tool could have a chance of completing successfully and the upgrade-helper tool would be much easier to use.

@uloco
Copy link

uloco commented Feb 22, 2023

Using Xcodegen to generate the xcode project from a yaml file would solve this once and for all.
I already proposed this some time ago in the react-native-community repo but don't know if there is maybe another place to increase awareness of this possible solution:

See: react-native-community/discussions-and-proposals#475

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants