-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
Using the install and setup steps from the readme, I get an error when building from xcode:
react-native bundle --entry-file index.ios.js --platform ios --dev true --bundle-output /Users/jblanchard/Library/Developer/Xcode/DerivedData/roombookingui-ejmsxsvpbrmzpueyoekrkqlfcojv/Build/Products/Debug-iphonesimulator/roombookingui.app/main.jsbundle --assets-dest /Users/jblanchard/Library/Developer/Xcode/DerivedData/roombookingui-ejmsxsvpbrmzpueyoekrkqlfcojv/Build/Products/Debug-iphonesimulator/roombookingui.app
bundle: Created ReactPackager
uncaught error Error: NotFoundError: Cannot find entry file index.ios.js
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 ?
Metadata
Metadata
Assignees
Labels
No labels