react-native: iOS - 0.48.0 - Blank App Crashes At Launch
Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment
react-native -v
: 0.48.0node -v
: v8.3.0npm -v
: 5.3.0yarn --version
: 0.27.5
Then, specify:
- Target Platform: iOS - xCode Version 8.3.3 (8E3004b)
- Development Operating System: macOS Sierra 10.12.4
- Build tools: Command Line
Steps to Reproduce
(Write your steps here:)
react-native init --version 0.48.0 test
cd ./test
react-native run-ios
- iPhone 6 - iOS 10.0 (14A345) with resetted content and settings
- Loading screen open
- App crashes and does not even compile the JS bundle
Here the command line log: https://gist.github.com/fabriziogiordano/2952ea25e10dfc10d13e5fd8ca9f9690
Expected Behavior
The App does not crash on launch and the JS is bundled.
Actual Behavior
The App does crash on launch and the JS is bundled.
Reproducible Demo
React Native 0.48.0-rc.1 does not throw such error and works as expected. I am assuming that something in here v0.48.0-rc.1…v0.48.0 is causing the issue.
(Paste the link to an example project and exact instructions to reproduce the issue.)
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 25
- Comments: 44 (5 by maintainers)
React Native is the most extreme love & hate relationship I have.
Hey @cxgslegend - I had the same problem as well. I’m using a previous version while it gets resolved 😃
react-native init --version 0.47.0 <projectname>
Same problem ! I’m now bald ! 😦
wasted my 2 days. hope it will fix soon.
This is my third days with a same problem. I almost give up learning React-Native.
Since I am at the workshop already, I reverted the commit that caused this issue and released 0.48.2.
Apologies for the issues, hope I didn’t destroy everyone’s Sunday 🔥
having a same issue with 50.0
This is a bug with 0.48.0,I have the same problem. I set a exceotion breakpoint with Xcode and find the problem. The following fixes might be useful to you.
xxx.xcodeproj
with XCode;@larenelg-tw, that worked like a charm! Thank you so much!
@larenelg-tw this is also proven to be stable for both ios and android
react-native init --version 0.47.2 yourprojectname
The New version of react-native is carrying some bugs during js bundle and with gradlew assemblerelease downgrading the react version seems to be only option for right now.
48.1 fixes that issue. Other fixes will land to 48.2
On Mon, 4 Sep 2017 at 12:40 Srdjan Prpa notifications@github.com wrote:
Same issue, solution is downgrade or wait some fix 😃
Same issue. Downgraded to 0.47.2.