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

Error at launch screen when running app for Release. #16681

Closed
jonching opened this issue Nov 5, 2017 · 1 comment
Closed

Error at launch screen when running app for Release. #16681

jonching opened this issue Nov 5, 2017 · 1 comment
Labels
Resolution: Locked This issue was locked by the bot.

Comments

@jonching
Copy link

jonching commented Nov 5, 2017

Is this a bug report?

yes

Have you read the Contributing Guidelines?

yes

Environment

Environment:
OS: macOS Sierra 10.12.6
Node: 6.9.1
Yarn: Not Found
npm: 3.10.8
Watchman: 4.7.0
Xcode: Xcode 9.1 Build version 9B55
Android Studio: Not Found

Packages: (wanted => installed)
react: ^16.0.0 => 16.0.0
react-native: ^0.50.0 => 0.50.0

Steps to Reproduce

  1. Open xcode
  2. Product -> Edit scheme -> Build configuration "Release"
  3. Build and run for device or simulator

Expected Behavior

App successfully runs.

Actual Behavior

Stalls at launch screen and produces the following Xcode error:

E1104 15:25:43.994065 1870475264 JSCHelpers.cpp:137] Got JS Exception: Can't find variable: self (/var/containers/Bundle/Application/30C12CDD-E4C1-46CB-8972-FB0FF5650DDF/hydrangea.app/main.jsbundle:389)
E1104 15:25:43.994191 1870475264 JSCHelpers.cpp:143] Got JS Stack: /var/containers/Bundle/Application/30C12CDD-E4C1-46CB-8972-FB0FF5650DDF/hydrangea.app/main.jsbundle:389:12193

Reverting my react native version back to 0.49.3 makes it work again. I tried removing ios/build directory, doing xcode cleans, npm installing and always end up with this same error when running the app for release.

@jonching jonching closed this as completed Nov 5, 2017
@jonching jonching reopened this Nov 5, 2017
@jonching jonching closed this as completed Nov 5, 2017
@0x0E
Copy link

0x0E commented Nov 7, 2017

hi @jonching ,I got same issue, how do you fix it?

@facebook facebook locked as resolved and limited conversation to collaborators Nov 5, 2018
@react-native-bot react-native-bot added the Resolution: Locked This issue was locked by the bot. label Nov 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Resolution: Locked This issue was locked by the bot.
Projects
None yet
Development

No branches or pull requests

3 participants