No identities are available for signing Xcode 5

62,431

Solution 1

All you need to do is:

  1. go to Certificates, Identifiers & Profiles in the Developer Center

  2. create a new provisioning profile in "Provisioning Profiles" / "Distribution"

  3. download the profile and open it

  4. restart Xcode

Solution 2

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.

Solution 3

Use the Application Loader (Xcode -> Open Developer Tool -> Application Loader).

Also - this answer/question may also be helpful for you: https://stackoverflow.com/a/18914073/730172

Solution 4

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

Solution 5

@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.

Share:
62,431
Oleksii Moiseenko
Author by

Oleksii Moiseenko

Updated on July 31, 2022

Comments

  • Oleksii Moiseenko
    Oleksii Moiseenko almost 2 years

    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.

  • Dejell
    Dejell over 10 years
    How can I validate the version there?
  • thepauljones
    thepauljones over 10 years
    Thanks Mavis, don't know why your answer isn't more upvoted, it worked for me after extensive panicky, frustration and googling :) Opening the file was the key, and I never knew... Thanks again.
  • CainaSouza
    CainaSouza over 10 years
    There's no need of steps 3 and 4. They are replaced by: -> Go to Xcode > Preferences > Accounts > Apple ID used > View Details. Press the refresh button so that it downloads the provisioning profile. After it downloads it, click Done. Now you can validate and submit it!
  • Pier-Luc Gendreau
    Pier-Luc Gendreau over 10 years
    +1000 Instead of letting you know, XCode unapologetically crashes when you try to validate with an ad-hoc profile.
  • Dejell
    Dejell over 10 years
    are you sure? I created a distribution profile but for ad hoc and still get it. What do you mean by a distribution profile?
  • Cristobal Viedma
    Cristobal Viedma over 10 years
    Make sure you use the same app ID when you create the provision profile and the one in XCode, otherwise it wont work.. ;)
  • david van brink
    david van brink over 10 years
    @Dejel exactly -- there's two kinds of "Distribution Profile". I'd been happily iterating with my testers, with a profile I named, "Distribution Profile". Created another one "App Store Distribution Profile" and chose "app store" in one of the choices, and all is well. It's such a nomenclature collision! The sudden use of "Identity" instead of profile or signing... ehhhh.
  • raeldor
    raeldor about 10 years
    Even on xcode 5.1.1 I still had to restart xcode to get this to work. A little lame.
  • RJStanford
    RJStanford about 10 years
    I spent an hour because the official docs never mentioned step 4.
  • Seb OH
    Seb OH about 10 years
    +2 if I could. Thanks so much!
  • Placeable
    Placeable about 10 years
    I didn't have to restart Xcode, I am using 5.1. I had the box open though with the message saying: No identities are available for signing. But when I clicked on the profile after download it automatically proceeded in that Xcode window.
  • Xaver Kapeller
    Xaver Kapeller about 10 years
    Your answer does not provide any information which is not provided by one of the many other answers to this question.
  • nacross
    nacross about 10 years
    I tried several combinations of many things suggested here, but nothing worked until. Refreshed. Killed the XCode derived data directory (/Users/YourLoginName/Library/Developer/DerivedData) and restarted XCode
  • Dave Owens
    Dave Owens about 10 years
    One warning: I use Chrome as my browser and at the very end of step #2 (creating the profile) the activity indicator spins and spins forever saying "loading...". If I switch to Safari then do it... it works fine.
  • CesareoAguirre
    CesareoAguirre about 10 years
  • Mavis
    Mavis about 10 years
    hi Dave, lots of areas in developers.apple.com only work well in Safari. cheers!
  • Lasse
    Lasse about 10 years
    Thanks a bunch, restarting x-code was enough for me. But the error message you give, does not give you a clue to try that at all...
  • Hlung
    Hlung about 10 years
    Turns out I was using Ad Hoc Distribution Profile. Changed to App Store Distribution Profile fixed my problem. (facepalm)
  • Davit Siradeghyan
    Davit Siradeghyan about 10 years
    Worked fine for me, @Mavis thanks a lot for the answer.
  • Caleb
    Caleb almost 10 years
    Restart was necessary :-\