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

React Native 0.60.0 xcodeproj upgrade #47

Closed
pvinis opened this issue Jul 3, 2019 · 0 comments · Fixed by #89
Closed

React Native 0.60.0 xcodeproj upgrade #47

pvinis opened this issue Jul 3, 2019 · 0 comments · Fixed by #89

Comments

@pvinis
Copy link
Member

pvinis commented Jul 3, 2019

Moved here: react-native-community/upgrade-support#14

--

For an easy upgrade experience of this file, do the following.

After all the other files have been upgraded, run yarn install and

cd ios
pod install
cd ..

This will cause all the Pods to be connected. After that, open the workspace file in the ios directory, called something like MyApp.xcworkspace

Screenshot 2019-07-03 at 16 07 01

This workspace contains your original project, as well as the Pods project. Expand your project and find the Libraries directory.

Screenshot 2019-07-03 at 16 07 16

Inside that, there are a few libraries related to React Native, and possibly other native modules from other libraries you might have connected.

Screenshot 2019-07-03 at 16 07 27

You can go ahead and remove the React Native related libraries from there, by selecting them and hitting the delete button. In the popup you get, you can select Remove references. If you select to Move it to Trash, you might need to run yarn install again.

Screenshot 2019-07-03 at 16 07 40

These libraries are not needed there anymore, since now they are connected using CocoaPods. You can do the same for other libraries that might exist in that directory, if they support CocoaPods. If they don't, keep them there for now.

After all this, your diff of that file should look roughly the same as the one right here. Don't worry too much if it doesn't match exactly, as your project might have more or fewer targets.

Try to see if the rough outline is the same, and of course make sure your project can build and run.

@react-native-community react-native-community locked as resolved and limited conversation to collaborators Jul 3, 2019
@pvinis pvinis pinned this issue Jul 3, 2019
@vinnyA3 vinnyA3 unpinned this issue Aug 22, 2019
@lucasbento lucasbento reopened this Sep 10, 2019
@lucasbento lucasbento pinned this issue Sep 10, 2019
@pvinis pvinis unpinned this issue Mar 27, 2020
@pvinis pvinis closed this as completed Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants