Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build release version #1

Open
Joyep opened this issue Oct 9, 2019 · 0 comments
Open

How to build release version #1

Joyep opened this issue Oct 9, 2019 · 0 comments

Comments

@Joyep
Copy link

Joyep commented Oct 9, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant