Error: “No identities are available for signing” X

2020-05-15 13:39发布

I upgraded my OSX from Snow Leopard to Lion and I downloaded Xcode 4.3.1 Now when I try to validate and publish my app I get the first screenshot. If I click on Download Identifier button I get the second screenshot.

Any suggest?

enter image description here

enter image description here

10条回答
爷的心禁止访问
2楼-- · 2020-05-15 14:04

The certificates you created for signing your application are only valid on the machine (+ OS) which you used to create them. They can be migrated to another machine but if you already updated without doing so, I recon that this is not an option anymore. I also don't know what the "Import Developer Profile" button does (I guess it's fairly new) but you could try that out. If this doesn't do the trick, don't worry. Just log on your ADC account, revoke the old certificates, create new ones and modify your project accordingly. (Just like you did, when you first created them.)

查看更多
Anthone
3楼-- · 2020-05-15 14:04

I come to know how to resolve this problem, It is quite simple, you just need to add an additional distribution provision profile in ios developer center.

  1. Log into ios developer center.
  2. Enter ios Provision portal.
  3. Select provision on left column.
  4. Select the Distribution tab on top in details column.

I can't post the screenshot bcd because my reputation is not enough.

查看更多
虎瘦雄心在
4楼-- · 2020-05-15 14:04

These steps solved it for me (some of them are in the answers above):

  1. Update to Xcode 5.0.1 (current version); otherwise Xcode crashed when pressing "Cancel"
  2. Update of my "Distribution iOS Provisioning Profile" in the Developer Center because mine were outdated.
  3. Xcode > Preferences > Accounts > Apple IDs > > View Details:
    • The list below in the popup was outdated ==> Select iOS Distribution and press "+" (I don't remember what Magic happened then, however the list was actual after that)
  4. As in the answer above: In Xcode go to the Build Setting and search for "code signing" and:
    • Change the "Code Signing Identity" for "Distribution" and "Release" to "iPhone Distribution"
    • Change the "Provisioning Profile" for "Distribution" and "Release" to (I could not find it before doing step 4)

I was very glad that I didn't have to revoke everything in the Developer Portal.

My announcement to Apple: Please, make this process much more easier and bugfree! It's such a hassle that costs me hours every time you force me to update to a new MacOS, Xcode, iTunes, iOS in order to keep my software running!

查看更多
Juvenile、少年°
5楼-- · 2020-05-15 14:05

I had this problem when we tried to upload an app too. We solved it in a way that I still don't understand completely, but I had an App ID that included some kind of ID in front of it like this: XXXXXXXXXX.com.plexical.start.bask. I put that string in my *-Info.plistfile. After having the problem above, I switched from automatic Code Signing Identity to manual and selected the same Distribution as the automatic one. Then I got a readable error from XCode complaining that the App ID didn't match com.plexical.start.bask:

enter image description here

I proceeded to change the App ID to com.plexical.start.bask in the *-Info.plist file and after that I was able to submit the App. I still don't understand completely why, but it worked for me.

查看更多
Emotional °昔
6楼-- · 2020-05-15 14:05

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.

查看更多
家丑人穷心不美
7楼-- · 2020-05-15 14:05

Ok this took some fiddling and I finally got it to work.

The issue was that I created an archive and then renamed my project. This is a big no no apparently (which makes sense) which I didn't realize at the time.

I noticed that the bundle identifier in the archive was different from the one that was in the general settings.

If this combination happens to you, simply delete the archive you created and create a new one. This will at least be your first step at cleaning up the issue.

查看更多
登录 后发表回答