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条回答
Fickle 薄情
2楼-- · 2019-01-12 23:51

The validation process does not work with Ad-hoc profiles. Need to create a Distribution provisioning profile. It is not specified in the instructions for beta testing. I agonized all day until realized.

查看更多
手持菜刀,她持情操
3楼-- · 2019-01-12 23:51

I had a mismatch between the Bundle Identifier within Xcode and the App ID on Developer.Apple.Com (Certificates, Identifiers & Profiles). This StackOverflow post was a great help to me. For a little extra info check out this blog post. The official documentation for the touch command can be found here. I had quit Xcode before doing the below. Upon completion of the details below and reopening Xcode my issue was resolved.

Use a text editor to update the bundle identifier to match the App ID, the Info.plist file is located:

ProjectName > ProjectName > ProjectName > ProjectName-Info.plist

Your looking for the following lines:

<key>CFBundleIdentifier</key>
<string>MyCompany.${PRODUCT_NAME:rfc1034identifier}</string>

Update the value to match you App ID, eg:

<string>com.MyCompany</string>

Use the terminal to issue the touch command, ensure your within the above listed directory:

touch ProjectName-Info.plist
查看更多
何必那么认真
4楼-- · 2019-01-12 23:54

It happen to me after update Xcode.

I fixed doing the follow

  • change the sign in to "no sign"

  • restart Xcode

  • set it to the correct sign

  • re-archive the build

I hope it helps

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

Please make sure you are using distribution provisioning profiles, rather than Development. And the code sign setting in Xcode is compatible with the distribution provisioning profiles.

enter image description here

查看更多
Emotional °昔
6楼-- · 2019-01-12 23:55

My issue was that I had none.myApp in my Bundle Identifier whereas in the AppID, I had com.myApp.

This drove me crazy for hours.

查看更多
爷、活的狠高调
7楼-- · 2019-01-12 23:56

Restarting solved my problem. I have a new mac and tried downloading the profiles, which should've transferred anyways. restarting solved it.

查看更多
登录 后发表回答