Closed Darmody closed 8 years ago
Make sure main.jsbundle
is in fact bundled with your app. When using the React Native packager, react-native-xcode.sh
takes care of that. When using rnws, it depends on your setup. A common solution is to simply add main.jsbundle
to the XCode tree.
Closing this issue for now since it's not really related to rnws. Please reopen with more details if you can confirm it's a rnws issue.
run the
rnws bundle
to generate the main.jsbundle file and uncomment the linejsCodeLocation = [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
in the AppDelegate.m file.After all, run the app in my iphone through Xcode, it get the error:
Did I miss something?