No identities are available for signing Xcode 5

2019-01-12 23:28发布

I have an error "No identities are available for signing" when try to validate my app in Xcode 5. I tried all: Recreate certificates and provisioning profiles, all methods which have been described on this site and another resources; I'm confused, because when I try to distribute my app as Ad-hoc, it successfully create and install on test device an IPA file. But when I try validate my app or submit to AppStore, all the time I have an error. Maybe someone can help me with this issue.

24条回答
叛逆
2楼-- · 2019-01-12 23:32

Restarting Xcode solved the problem for me! Restart and/or clean solves 99% of all issues...

查看更多
虎瘦雄心在
3楼-- · 2019-01-12 23:33

If you are using Xcode 5.1 or above (which you would be now), this helped me: Code signing broken on Xcode 5.1 + iOS 7.1

The key is to delete the old provisioning profile on your mac and create a new one (with a different name?) from Apple web site and download it. Looks like Xcode 5.1 corrupts the existing provisioning profile and it does not help even if you re-download it again.

查看更多
Fickle 薄情
4楼-- · 2019-01-12 23:34

Had this yesterday and could not figure it out, no matter what I did! To solve the problem, I went to both the Project and the Target in Xcode, and under code signing, chose

  • Code signing identity: Don't code sign
  • Provisioning profile: None

Build, and then Product > Archive, and now Organizer chose the correct code signing identities and profiles to allow it to get to the Validation step. Woohoo!

查看更多
放我归山
5楼-- · 2019-01-12 23:35

@CainaSouza 's comment above worked for me. I didn't even have to create any new provisioning profiles.

I just had to go to Xcode > Preferences > Accounts > (Apple ID) > View Details and hit the refresh button. After a minute or two it was done and had loaded my provisioning profiles. I didn't even have to select it in my project options, it had already selected my most recently generated one.

查看更多
来,给爷笑一个
6楼-- · 2019-01-12 23:35

Apple Documentation

"If Xcode doesn’t find signing identities, a dialog stating “No identities are available for signing” appears. Verify that you have a distribution certificate and an ad hoc provisioning profile before continuing.

If your ad hoc provisioning profile doesn’t appear in the Provisioning Profile pop-up menu when you create the iOS App Store Package, refresh the profiles in Xcode, as described in “Refreshing Provisioning Profiles in Xcode.”"

查看更多
Evening l夕情丶
7楼-- · 2019-01-12 23:36

I fixed this issue by delete the old development/distribute profiles and create new one with new names.

查看更多
登录 后发表回答