You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking at the example projects, its appears to be because the PBXShellScriptBuildPhase (i.e. react-native-xcode.sh) should not be called in project.pbxproj
And indeed if I run react-native upgrade in the BabelES6 example project, it adds the step in question to the build, and causes it to fail.
So, how are the ios and android folders generated in the example projects? Is there a step missing in the setup instructions ?
The text was updated successfully, but these errors were encountered:
Also seeing this issue, quick fix is to comment/remove the Build Phase (click the project at the top of the Xcode navigator, go to the Build Phases tab, and remove the last one)
(Just in case you want to undo, the command is ../node_modules/react-native/packager/react-native-xcode.sh)
I was getting thrown off for a while today with a similar issue trying to upgrade to Forever 21 by a Watchman issue. Aside from removing the erroneous bundling task from Xcode, as suggested, the above error was resolved for me after I reinstalled Watchman with brew uninstall watchman && brew install --HEAD watchman. YMMV
Using the install and setup steps from the readme, I get an error when building from xcode:
Looking at the example projects, its appears to be because the PBXShellScriptBuildPhase (i.e. react-native-xcode.sh) should not be called in project.pbxproj
And indeed if I run
react-native upgrade
in the BabelES6 example project, it adds the step in question to the build, and causes it to fail.So, how are the ios and android folders generated in the example projects? Is there a step missing in the setup instructions ?
The text was updated successfully, but these errors were encountered: