-
Notifications
You must be signed in to change notification settings - Fork 100
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
App crashes running Release with advanced-build #210
Comments
#203 sounds similar but the patch doesn't help - code it changes isn't used (based on some basic logging) |
Running release via Xcode provides the following logging
|
@olivergeorge Try doing both this fix #208 (comment) and the patch #203 (comment).
Does that work? |
I'm not able to test just now. I need Xcode 9 to get work code building. 203 alone didn't seem to help. Haven't tried the combo. |
@CalderBot Yes, the combination worked. Nice. If I understand the worker.js patch it's disabling the constantFoldingPlugin which seemed to be the bit which conflicted with the Google Closure optimised code. |
@CalderBot your solution stopped me from getting the
It was recommended that I try to stop the Metro bundler and reload the app. This didn't work. The only thing I can think of is that I need to make externs for all the JS/react-native libs that I'm using (i.e. Any ideas how to fix this? |
Here's my workaround for the advanced compilation bug... https://github.com/condense/mercury-app/wiki/Fixing-advanced-compilation-bug |
@NuclearKev There are many ways that the app name can fail to be registered, but if There are externs for some common libraries https://github.com/google/closure-compiler/wiki/Externs-For-Common-Libraries which includes firebase.
|
I think :infer-externs is a practical alternative to manually managing externs now. |
@olivergeorge I was unaware of that compile option! Looks like I'd have to through and add some |
Don’t know if it’s still relevant with infer externs but there’s also oops. |
Steps to repeat
re-natal init FutureApp
cd future-app
lein advanced-build
react-native run-ios --configuration Release
Expect: Should build successfully and start running in simulator
Actual: App crashes when starting up in simulator.
re-natal 0.10.0
The text was updated successfully, but these errors were encountered: