React Native Project Running from Xcode but not from command line

Viewed 1126

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?

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.

Related