react-native: iOS build fails for RN upgrade 0.64.2 -> 0.65.1
Description
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
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 16
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😅
Try follow the upgrade-helper to manual upgrade, https://react-native-community.github.io/upgrade-helper/?from=0.64.2&to=0.65.1