I am trying to generate standalone react-native application for a iPhone simulator.
I am able run it on my machine via Xcode, but it automatically start ./node_modules/react-native-cli/index.js start
and it loads js files into app.
It is possible to generate *.app
with js files?
I use this command: xcodebuild -workspace "ios/MyApp.xcworkspace" -scheme "MyApp" -sdk iphonesimulator -destination='name=iPhone 6,OS=10.3' build -derivedDataPath ios/build
and I got this error after launch application:
May 2 16:59:21 MacMini MyApp[15965]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'bundleURL must be non-nil when not implementing loadSourceForBridge'
*** First throw call stack: