iOS build fails for RN upgrade 0.64.2 -> 0.65.1
See original GitHub issueDescription
I went through the upgrade helper for RN version 0.64.2 -> 0.65.1. Android build successful but iOS cannot build.
React Native version:
Steps To Reproduce
I ran the following commands:
npx react-native upgrade
npx react-native start
npx react-native run-ios
Expected Results
iOS should build successfully.
Snack, code example, screenshot, or link to a repository:
I ran the following commands:
npx react-native upgrade
npx react-native start
npx react-native run-ios
Issue Analytics
- State:
- Created 2 years ago
- Comments:14
Top Results From Across the Web
error Unexpected token = after upgrading from RN 0.64.2 to ...
I had this issue after upgrading RN to 65.1. As per my investigation it is caused by an incorrect Node.js version used during...
Read more >React Native Upgrade Helper
It knows which packages* versions are compatible with your specific version of RN, and it uses that knowledge to align dependencies, keeping your...
Read more >Upgrading a React Native App - Bionic Julia
This was an upgrade from version 0.63.3 to 0.65.1. ... run the build process for iOS and Android, see it fail, google the...
Read more >react native error build: command phasescriptexecution failed with a ...
One possible reason could be that Xcode is using an outdated version of Node (in my case, it was because I use nvm...
Read more >Upgrading to new versions - React Native
Because typical React Native projects are essentially made up of an Android project, an iOS project, and a JavaScript project, upgrading can ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Having a similar issues with this upgrade on iOS
But only during archiving. When I look inside the build intermediates folder, the React-CoreModules folder is not there (as the warning suggests).
I have tried doing things like a clean and removing the
Pods
folder and then runningpod install
UPDATE
I have resolved this. In the
Podfile
, the minimum iOS target version in 0.65 is upped to11.0
, but my XCode project was still at10.0
. When I changed this to match what was in Cocoapods, the linking step worked and things archived successfully. Hope that helps somebody with a similar issue.I upgrade successfully from 0.64.0 to 0.65.1 by using the manual😅