Hello all, can't figure out the app crash
it builds well and works in Debug mode, but in release modeit build but crashes on opening – it can't see the js.budle file
trying to generate the budle separetly with
react-native bundle --platform ios --dev false --entry-file index.ios.js --bundle-output ./ios/release/main.jsbundle --assets-dest ./ios/release/main.jsbundle
gives
Loading dependency graph, done.
Worker Farm: Received message for unknown index for existing child. This should not happen!
Unexpected token: operator (*)
the log:
2017-05-01 19:36:49.134 [fatal][tid:main] No script URL provided. Make sure the packager is running or you have embedded a JS bundle in your application bundle.unsanitizedScriptURLString:((null))
2017-05-01 19:36:49.144 Wonder[71474:4072586] *** Terminating app due to uncaught exception 'RCTFatalException: No script URL provided. Make sure the packager is running or you have embedded a JS bundle in your application bundle.unsanitizedScriptURLString:((null))', reason: 'No script URL provided. Make sure the packager is running or you have embed...'
*** First throw call stack:
(
0 CoreFoundation 0x000000010b4bab0b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x0000000109fd7141 objc_exception_throw + 48
2 CoreFoundation 0x000000010b523625 +[NSException raise:format:] + 197
3 Wonder 0x000000010966883c RCTFatal + 393
4 Wonder 0x000000010968a90d -[RCTBatchedBridge stopLoadingWithError:] + 601
5 Wonder 0x0000000109687ac0 __25-[RCTBatchedBridge start]_block_invoke_2 + 42
6 libdispatch.dylib 0x000000010fabc4a6 _dispatch_call_block_and_release + 12
7 libdispatch.dylib 0x000000010fae505c _dispatch_client_callout + 8
8 libdispatch.dylib 0x000000010fac640b _dispatch_main_queue_callback_4CF + 411
9 CoreFoundation 0x000000010b47f909 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
10 CoreFoundation 0x000000010b445ae4 __CFRunLoopRun + 2164
11 CoreFoundation 0x000000010b445016 CFRunLoopRunSpecific + 406
12 GraphicsServices 0x0000000111347a24 GSEventRunModal + 62
13 UIKit 0x000000010e1690d4 UIApplicationMain + 159
14 Wonder 0x0000000109645117 main + 80
15 libdyld.dylib 0x000000010fb3165d start + 1
16 ??? 0x0000000000000001 0x0 + 1
)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
XCode screenshot
https://www.dropbox.com/s/nlsz5pvdactj6gn/Screenshot%202017-05-01%2022.00.28.png?dl=0
full crash report (rtf)
https://www.dropbox.com/s/69kc232fgo0up46/crash.rtf?dl=0