Reputation: 325
I know there are already similar problems on StackOverflow, but mine is a little different. So when I launch my app on the simulator, it works just fine, however, when I launch it on a device, it loads everything and launches the app but as soon as it does that, both my Xcode and the app on my phone crash.
I have no code to post as my Xcode crashes but if you know why this is happening or any code that may be useful to you, please let me know.
Upvotes: 0
Views: 1930
Reputation: 21
I think you should follow the orders to figure out what the problem is:
1、Make sure your device type and iOS Version is right. Some newer apis do may cause crash on old iOS version. If your device's iOS version is not the same as the version of your simulator, maybe it's the reason.
2、If you're using iPhone 5 or iPhone 5c. That means your device does not support 64 bit calculation. Check it out.
3、Add Global Exception from exception panel. Switch to exception panel -> click plus button on the left bottom of the panel -> Choose one or more global Breakpoint you want to add. Then you should get where is wrong before it crash.
Upvotes: 1