Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

xcode

ios7

xcode5

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:

enter image description here

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

like image 557
AngeloS Avatar asked Jun 11 '13 01:06

AngeloS


3 Answers

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.

like image 172
vially Avatar answered Nov 12 '22 13:11

vially


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

like image 22
Dmitry Shevchenko Avatar answered Nov 12 '22 14:11

Dmitry Shevchenko


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 Jenkins manual Code Signing Identity

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

like image 1
Esteban Bouza Avatar answered Nov 12 '22 15:11

Esteban Bouza