Open Adnan-Bacic opened 2 years ago
React native upgrade helper indications seem unclear to me as well.
If I delete the REACT_NATIVE_PATH
lines
- REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
They are added again automatically on next pod install
Same for contents.xcworkspacedata
file deletion.
The same is shown when I want to update from 0.70.3
to 0.70.4
https://react-native-community.github.io/upgrade-helper/?from=0.70.3&to=0.70.4
Environment
Things I’ve done to figure out my issue
Upgrading version
0.70.0
Description
im updating from 0.69.5 to 0.70.0 and making the changes seen here: https://react-native-community.github.io/upgrade-helper/?from=0.69.5&to=0.70.0
here you can see that it says you have to delete a line in the
ios/app_name.xcodeproj/project.pbxproj
where it says:however, i also tried creating a fresh new project running 0.70.0. and when i check the
ios/app_name.xcodeproj/project.pbxproj
file, the above line is still there.the upgrade helper shows we have to remove this line, but a newly created project still has this line.
so either the upgrade helper is wrong or new projects are created incorrectly.
Reproducible demo
npx react-native init AwesomeProject --version 0.70.0
ios/app_name.xcodeproj/project.pbxproj
fileREACT_NATIVE_PATH
. 2 results should appear. (1 under debug and 1 under release.)