开发者

Device debug works but not release

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?


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.


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜