Opposite problem: works on device, NOT the Simulator
I'm sure I'm overlooking a simple fix, but I'm befuddled. My apps were working fine and have been submitted to Apple. However, now I can't run those same files (or safety copies of them) in the Simulator.
BUT, it builds and runs perfectly on the device!!! This is the opposite problem I've read in all the forums!
The application launches ok in the simulator, but any user interaction like changing views will cause it to crash. What am I missing?
Well, what does the console say after a crash? Anything? And what did you change/add in your app between the times when it worked in the past and now when it doesn't? And have you tried to delete your app from the simulator, cleaning all targets, and then rebuild for the simulator?
In addition, just what does your app try to do? And have you tried to use NSLogs to figure out just what lines the app crashes on? (that way you can determine what line the simulator doesn't seem to "like")
__________________
HEY! Was this post helpful?
If so, it would be MUCH appreciated if you'd just click on one of these apps:
MyD
Take 1 minute to set up your MyD and you'll always be able to prove you own your device!
Membrik
Test your memory by sliding tiles to match chains of increasing difficulty.
Well, what does the console say after a crash? Anything? And what did you change/add in your app between the times when it worked in the past and now when it doesn't? And have you tried to delete your app from the simulator, cleaning all targets, and then rebuild for the simulator?
In addition, just what does your app try to do? And have you tried to use NSLogs to figure out just what lines the app crashes on? (that way you can determine what line the simulator doesn't seem to "like")
Not a thing changed, everything cleaned and rebuilt, still issues. Will try the logs next, was thinking I was just not flipping a random switch on rebuild. I'll let you know, thanks.
I narrowed it down and it appears some of my file names changed. It's fixed, but it still doesn't explain why it runs ok on the device? I hope this doesn't impact my submission, no idea how this happened.
Sorry for the trouble, if you have any theories I'd be happy to hear them. Take care!