开发者

Debuging on real device (iPad)

A have a iOS-project that I send开发者_如何学JAVA to my iPad. But when I'm trying to run&debug it on the device, I take error

"The executable was signed with invalid entitlements.

The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile."

In my Entitlements.plist key "Can be Debugged" in state 'YES'. When I change it to 'NO' - I can send application to iPad, but I take error

Error Starting Executable '$APPLICATION_NAME'

Error launching remote program: failed to get the task for process $PROCESS_NUMBER. How can I resolve this problem?

P.S. I read similar question, but answers don't help me … (In most of question answer say to create Entitlements.plist file)

P.P.S. XCode 4.0, iOS 4.3

UPD: Problem was solved.

I created new provision file in certificate-development tab, revoke previous certificate and request one new. As result I have taken new certificate in what is written all provision files and two provision files - one for distribution and one for development.


Problem was solved. I created new provision file in certificate-development tab, revoke previous certificate and request one new. As result I have taken new certificate in what is written all provision files and two provision files - one for distribution and one for development.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜