Upgraded to iOS 7 beta / Xcode 5 beta and receiving warning “CODE_SIGN_ENTITLEMENTS specified without a valid Developer Signing Identity for iOS”

余生长醉 提交于 2019-12-03 08:31:56

问题


Just upgraded to iOS 7 beta (and Xcode 5 beta) and am receiving the following warning when I build a preexisting app that I'm moving to iOS 7

Check dependencies: warning: CODE_SIGN_ENTITLEMENTS specified without a valid Developer Signing Identity for iOS.

However, when I check the Code Signing Entitlements flag in my Build Settings, I actually don't have a Code Signing Entitlement defined:

Any ideas? Is this now required in iOS 7? If so, how would I define a Code Signing Entitlement?


回答1:


The problem is not with the Code Signing Entitlements. The problem is most probably with the Code Signing Identity.

In Xcode 4 the automatic profile selector was looking for a profile named: iPhone Developer. However, it seems in Xcode 5 the automatic profile selector is looking for a profile named: iOS Developer (as it can be seen in your screenshot) which most probably doesn't exist.

In order to fix this problem try manually selecting an existing profile from the Code Signing Identity drop-down list.




回答2:


Keep automatic identity setting, but select a profile under "Provisioning Profile" setting and Xcode will pick up correct identities.




回答3:


If you are having this problem because you are using Jenkins and it can't find the right code signing identity, you can fix it by setting it manually

It will automatically choose the right provisioning profile if it's present in the Jenkins node.



来源:https://stackoverflow.com/questions/17035440/upgraded-to-ios-7-beta-xcode-5-beta-and-receiving-warning-code-sign-entitleme

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!