开发者

iPhone Application crashes in "AdHoc" mode

i got a little application which is working very well with my "debug" configuration on my phone and in simulator.

i created a adhoc provisioning profile, and added a "beta" configuration to it.

trying to launch the application with the ad-hoc configuration crashes my application immediatelly.

the console output is:

Running…
Error launching remote program: failed to get the task for process 2434.
Error launching remote program: failed to get the task for process 2434.
The program being debugged is not being run.
The program being debugged is not being run.

i also created a dist.plsit, unchecked the get-tast-allow and setted this file in my built settings under code signing.

doe开发者_开发问答s anyone have an idea?

thanks!


Sometimes when you change lots of things, especially build configs, xcodebuild doesn't seem to figure out which files are stale and links in old stuff that needs to be rebuilt. Try doing a Clean All or just delete your build directory from the project dir. That seems to solve most of these bizarre-ass unexplainable problems for me.


simple thing. i clicked "built and run" instead of "built".

an ad-hoc version cannot be debugged :D

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜