App iOS stuck on blank white screen when build release React Native

0 votes

I'm setting up a new project using React Native like this tutorial: https://facebook.github.io/react-native/docs/getting-started.html and build iOS release but it does not work, the blank white screen showed after LaunchScreen run.

The app works if build in Debug(react-native run-ios) but does not work in Release(build release by Xcode or terminal).

react-native v0.53.0

react-native-cli v2.0.1

node v8.10.0

Xcode 9.2

blank white screen

The log show in Xcode:

2018-02-06 15:55:14.464233+0700 MyApp[306:35863] [Accessibility] ****************** Loading GAX Client Bundle **************** 2561-02-06 15:55:14.697 [error][tid:main][RCTCxxBridge.mm:423] Failed to load bundle(file:///var/containers/Bundle/Application/4FAF82CD-9EA4-4E73-800A-A2ABC9313405/MyApp.app/main.jsbundle) with error:(Error reading bundle /var/containers/Bundle/Application/4FAF82CD-9EA4-4E73-800A-A2ABC9313405/MyApp.app/main.jsbundle (null)) 2018-02-06 15:55:14.706782+0700 Shiip[306:35863] Failed to load bundle(file:///var/containers/Bundle/Application/4FAF82CD-9EA4-4E73-800A-A2ABC9313405/MyApp.app/main.jsbundle) with error:(Error reading bundle /var/containers/Bundle/Application/4FAF82CD-9EA4-4E73-800A-A2ABC9313405/MyApp.app/main.jsbundle (null))

Sep 21, 2022 in Others by gaurav
• 23,260 points
10,148 views

1 answer to this question.

0 votes

I use many node version so the Xcode not using the node version which I used in my Terminal, it's make my app build crashed. Let's do this to solved my problem

Open The Script Build Phases in Xcode: enter image description here

Now, using with the node version path exactly (use command: which node to get your node version path)

enter image description here

And my problem was solved

If you need to know more about React, Its recommended to join React certification course today.

answered Sep 21, 2022 by rajatha
• 7,680 points

Related Questions In Others

0 votes
1 answer

Xamarin iOS app displaying white blank screen on iPad after update to Xcode 11

Assuming you have your iPad Pro connected ...READ MORE

answered Nov 4, 2022 in Others by gaurav
• 23,260 points
1,323 views
0 votes
0 answers
0 votes
1 answer

It shows black screen when trying to load Map on device with ionic 2 Google Map Native plugin

In order to answer your question, start ...READ MORE

answered Feb 8, 2022 in Others by Rahul
• 9,680 points
1,708 views
0 votes
0 answers

why is react native video not working on android, but working on ios?

installed react video v. 5.2.0 but an error ...READ MORE

Sep 23, 2022 in Others by gaurav
• 23,260 points
1,250 views
0 votes
1 answer

React Native and iOS share button

In this article, we will be learning ...READ MORE

answered Nov 4, 2022 in Others by gaurav
• 23,260 points
691 views
0 votes
0 answers

FB Login not working with React Native iOS v13+

I've a project with following configuration. "react": "16.8.3", "react-native": ...READ MORE

Nov 10, 2022 in Mobile Development by gaurav
• 23,260 points
1,203 views
0 votes
1 answer

How do I create folder under an Amazon S3 bucket through PHP API?

Of Course, it is possible to create ...READ MORE

answered Apr 24, 2018 in AWS by anonymous
11,283 views
0 votes
1 answer

Why is collect in SparkR slow?

It's not the collect() that is slow. ...READ MORE

answered May 3, 2018 in Apache Spark by Data_Nerd
• 2,390 points
2,886 views
0 votes
1 answer

Ionic capacitor app shows only white blank screen in ios

Try it: In capacitor.config.json file, we have ...READ MORE

answered Sep 21, 2022 in Others by rajatha
• 7,680 points
3,484 views
0 votes
1 answer

iOS: Random black screen when loading the app

force restarting your iPhone You can always start ...READ MORE

answered Sep 21, 2022 in Others by rajatha
• 7,680 points
5,335 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP