No identities are available for signing Xcode 5

IosCode SigningXcode5Validating

Ios Problem Overview


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.

Ios Solutions


Solution 1 - Ios

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 - Ios

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

Solution 3 - Ios

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 4 - Ios

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 5 - Ios

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

Solution 6 - Ios

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

Solution 7 - Ios

Clean your Product Build Folder (with Alt button) Restart Xcode

It solved my same issue

Solution 8 - Ios

I updated to Maverick and Xcode 5 and had the same issue even though I had everything ok in Profiles. I created a new Distribution profile (identical to the old one), added it by refreshing profiles and the issue was solved without rebuilding.

Solution 9 - Ios

I had a similar issue. Found out that the bundle identifier did not match the app id that was on itunes connect - it was capitalized differently. Fixed the issue by making the identifiers match.

Solution 10 - Ios

Yes the appID and bundle identifier must match. Remember it is CASE-SENSITIVE. That was the problem for me.

Solution 11 - Ios

Apple Decided to "Magically Dissapear" my distribution provisioning profile from their site after upgrading to a newer Xcode, giving me this problem too.

Solution is obvious only once I had discovered this fact!

-Create new Distribution Provisioning Profile

-Download & install it / Refresh Xcode preferences under account details

Solution 12 - Ios

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

Solution 13 - Ios

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

Solution 14 - Ios

If you are using Xcode 5.1 or above (which you would be now), this helped me: https://stackoverflow.com/questions/22405035/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.

Solution 15 - Ios

My solution was to go into the dev center, find the distribution provisioning profile, and it had expired. So i tapped edit on it, and renewed it, downloaded it, installed it, chose the profile in the build settings, and it worked.

HTH someone.

Solution 16 - Ios

Of all the development issues I've faced over my 20+ years as a software developer, none have wasted so much time as the code-signing/provisioning profile rubbish in Xcode.

This week, I have wasted 8+ hours trying to build an Ad-hoc release of our iPhone app. In the past, it just worked, I could Archive, stick a download button on our in-house webpage, and users could just install our app from this page.

But, this week, I was facing the same "No identities are available" issue, described here.

EVENTUALLY, here's what solved the issue for me:

When I logged into the hopeless Apple Developers website, it showed that our company had 2 "iOS Distribution" certificates. They were valid, their expiry dates are months away, and in the Keychain Access application, the certificates were installed and valid... no problems here.

But what fixed my issue was to delete these two certificates, recreate a new one, then recreate my "In house" Provisioning Profile (as the original one was now showing as being invalid, as it used the old "iOS Distribution" certificate).

I also went into the "Keychain Access" application on my MacBook, and deleted all "iOS Distribution" keychains.

Then, I downloaded the new certificates & provisioning profiles, now, finally, Xcode would report that there was an identity which I could code-sign with.

To the Xcode development team:

Please. Get this fixed.

If a developer like myself, is up against a wall, unable to get a valid Provisioning Profile, which will result in a downloadable app, which will fail each time on "The app couldn't be downloaded at this time" message.. DON'T allow the Archive function to be used.

Instead, TELL the user what the problem is. HELP them resolve it, rather than going through the motions, and happily allowing them to create Archives which will never be useable.

And if an Ad-Hoc install is invalid, please put something in the Log to explain what's gone wrong, and make this accessible from Xcode. Currently your "The app can't be downloaded at this time" message is both useless and misleading.

One last thing (if this helps):

Our company accidentally let its Developer Enterprise Program license expire last month. We did then renew, everything was seemingly okay again, but perhaps, behind the scenes, this messed up our "iOS Distribution" certificate ? And perhaps, not. From the Apple website's point of view, everything was fine.

Solution 17 - Ios

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.

Solution 18 - Ios

I ran into this issue today and it seems to be related to the face that the profile started with a number. I deleted the profile and recreated it exactly the same way (after a lot of other troubleshooting steps found on SO) EXCEPT this time I started with a word instead of a number. Coincidence? Not sure but worth trying.

Solution 19 - Ios

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!

Solution 20 - Ios

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

Solution 21 - Ios

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.”"

Solution 22 - Ios

In my case, the adhoc provisioning that I wanted to set was not selectable in Code Signing in Build Settings. Though, I created and downloaded the adhoc provisioning from developer store. The answers mentioned here didn't work for me. Fix Issue button in General tab fixed the issue by downloading the required adhoc provisioning file by itself.

Solution 23 - Ios

Creating a new certificate, Profile in Apple development center did not work for me! I tried editing a profile/certificates and download again and double click to install in KeyChain, but still did not work. I restarted XCode (Version 7 and Mac on El Capitan), restarted Mac but still did not work!

What worked for me is: XCode -> Preferences -> Accounts - Then I deleted the Apple ID. Shutdown my Mac, and restarted it. Started my XCode, added the Apple ID, went to view details in Apple ID's and downloaded the Provisional Profile again and only then it started working!

Solution 24 - Ios

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

Attributions

All content for this solution is sourced from the original question on Stackoverflow.

The content on this page is licensed under the Attribution-ShareAlike 4.0 International (CC BY-SA 4.0) license.

Content TypeOriginal AuthorOriginal Content on Stackoverflow
QuestionOleksii MoiseenkoView Question on Stackoverflow
Solution 1 - IosMavisView Answer on Stackoverflow
Solution 2 - Iosuser1629342View Answer on Stackoverflow
Solution 3 - IosAbsovView Answer on Stackoverflow
Solution 4 - IosMattView Answer on Stackoverflow
Solution 5 - IoshelmesjoView Answer on Stackoverflow
Solution 6 - Iosmbuc91View Answer on Stackoverflow
Solution 7 - IosTun BeoView Answer on Stackoverflow
Solution 8 - IosEnrique BernalView Answer on Stackoverflow
Solution 9 - IosRH_AppsView Answer on Stackoverflow
Solution 10 - IosChris LambrouView Answer on Stackoverflow
Solution 11 - IosAMAN77View Answer on Stackoverflow
Solution 12 - IosheMacView Answer on Stackoverflow
Solution 13 - IosTr0yJView Answer on Stackoverflow
Solution 14 - Iosuser2995358View Answer on Stackoverflow
Solution 15 - IosChrisView Answer on Stackoverflow
Solution 16 - IosMike GledhillView Answer on Stackoverflow
Solution 17 - IosTakuView Answer on Stackoverflow
Solution 18 - IosMikeMilzzView Answer on Stackoverflow
Solution 19 - IosJoseph CheekView Answer on Stackoverflow
Solution 20 - IosAdriano SpadoniView Answer on Stackoverflow
Solution 21 - Iosed_is_my_nameView Answer on Stackoverflow
Solution 22 - IoszeeawanView Answer on Stackoverflow
Solution 23 - IosMahfuzView Answer on Stackoverflow
Solution 24 - Iosuser3550353View Answer on Stackoverflow