开发者

Debuging on real device (iPad)

开发者 https://www.devze.com 2023-04-13 00:31 出处:网络
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

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

精彩评论

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

关注公众号