I got this error with Xcode 5 when I try to run the app on my device.
The executable was signed with invalid entitlement
It worked fine with Xcode 4.x. Anyone knows how to get rid of the error?
1、切换运行环境, 编译中间文件不会自动重新编译
这个是真机环境,我编译跑得挺好;
好,接下来我切换到模拟器:然后编译
出现以下一大堆错误
如图:
神奇了,里面竟然没有这个架构,我郁闷了,怎么会,是不是编译设置没有搞好;事实把我打败了。于是我摸索编译选项
没有问题啊,我专门认真研究了每一个选项,仍然一无所获
神奇,今天我再次查这个问题的问题的时候我突然意识到是不是clean下就好了,没想到啊没想到
果然是这个问题,和当年修改了头文件,不会重新编exe的坑是一样的
第二个问题:
32
5
|
I got this error with Xcode 5 when I try to run the app on my device.
It worked fine with Xcode 4.x. Anyone knows how to get rid of the error?
|
|||
add a comment
|
31
|
What worked for me was restarting Xcode. |
|||
15
|
I found out the problem. The app I created on developer.apple.com does not include inter-app-audio. The project entitlements plist file on Xcode has inter-app-audio set to YES (by default). Once I changed the setting on my app configuration on developer.apple.com to enable the inter-app-audio. Then my app runs on my devices. I guess that is apple's new rule to make your app settings consistent on both developer.apple.com and your xcode project setting. |
||||||||||||
|
12
|
I was able to fix this by toggling on/off "Game Center" entitlement in Xcode 5 :-) |
||||
|
7
|
I think your problem lies because of the profile that you were using xCode4.6 and now you are using xCode5. You need to refresh certs/prov profiles via XCode > Preferences > Accounts XCode > Preferences > Accounts > Click on your DEV ACCOUNT > View Details button (bottom right) > Signing Iden/PPs screen appears > hit Refresh. Then choose again from build settings the correct profile and clean and build your project. Hope this helps you. |
||||||||
|
6
|
I had to match the app's capabilities in Xcode5 under
with that in the provisoning profile. |
||||||||
|
|