Question

I'm trying to troubleshoot why a release build doesn't work on the device but a debug version does. With a release build, the app starts, default PNG displays and the app dies. I've commented everything out of applicationDidFinishLaunching, which means it isn't a code issue. I see this error in the console:

Mon Jan 18 21:17:39 unknown com.apple.debugserver-43[1579] : error: MachTask::StartExceptionThread (): task invalid, exception thread start failed.

I have it configured as a device release build and have assigned my app store provisioning profile to it. Any ideas on what could be wrong or what the above error means?

Was it helpful?

Solution

You can't use the app store provisioning profile to load onto your device. That will only work for submitting it to Apple. You can make an Ad-Hoc provisioning profile to use, but your Development profile should be enough.

OTHER TIPS

Get Info on your project or target and compare your properties between Debug and Release configurations. Instinct says, something must be different that doesn't need to be different.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top