Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

React Native Project Running from Xcode but not from command line

I'm hitting a production breaking bug and the solution seems elusive, but tantalisingly close.

That odd thing is, the app runs on the simulator if I run from Xcode (With the play button), but when I run react-native run-ios it brings up the simulator and shows the splash screen, but then immediately fails out, with little to go on in the logs. I suspect something is not getting included when the app is run from command line that is included when run from xcode.

Can anyone with a better understanding of ios dev suggest any pointers?

like image 754
P.Sermon Avatar asked Sep 22 '17 09:09

P.Sermon


1 Answers

I had the same issue. Open Info.plist with notepad (not XCode) and look for errors. If you don't find any, try restarting XCode or your mac and do a clean build.

like image 105
mike Avatar answered Sep 22 '22 14:09

mike