How to build release version
Joyep opened this issue · 0 comments
Joyep commented
It works well in debug mode. but when I compile into a release version, Extension can't find bundle url. runtime error in line:
RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index", fallbackResource: nil)
error: Thread 1: EXC_BAD_INSTRUCTION (code=EXC_I386_INVOP, subcode=0x0)
I try to modify this line as below, it occurs error too.
RCTBundleURLProvider.sharedSettings().jsBundleURL(forFallbackResource:"main", fallbackExtension: "jsbundle")
How should I Fix to use in release version?