Reputation: 8076
I have an app, it worked well on simulator, but the ad hoc version always crashed when started on my ipod. Is it possible to debug ad hoc version or its there any replacement solution?
Thanks
interdev
Upvotes: 1
Views: 899
Reputation: 11475
The suggestions from others to run on debug to find out what the problem is, is good. Beyond this, there are many reasons why apps work on the simulator but not a real device. My top three reasons are:
In summary, remember it's a simulator, not an emulator!
Upvotes: 0
Reputation: 11038
Interdev, try running the debug version on your device; from your description, it seems like there may be some difference between simulator and device, rather than the ad hoc and debug versions.
If that doesn't give you the answer, and it is actually some issue with the ad hoc version, you can always access the crash logs for the device from the Xcode Organizer (Window > Organizer). Good luck!
Upvotes: 1
Reputation: 50727
instead of building for Ad-Hoc, keep it in DEBUG mode when ran on your device, then try RUN > DEBUG - Breakpoints On
Upvotes: 0