460
votes

After spending a whole day installing a fresh copy of Mac OS X v10.8 (Mountain Lion), Xcode 5, fixing provisioning profiles, certificates, creating new ones, I finally managed to get my applications running on my iPad again. The problem is that in Xcode 5 I don't have a menu item for Library - Provisioning Profiles, and I don't know what could have happened. I restarted the computer, tried some things, but I really have no idea what I could do. How can I fix this problem?

Xcode 5 organizer

9
Hasn't it all moved to Preferences > Accounts? - trojanfoe
I can't access that part either, I get an "Error Fetching Developer Info" - I don't know if that's due to Apple still reconstructing their developer database or my Xcode 5 installation. - kanstraktar
I'd say it was due to parts of Apple Developer still being down. Nice timing on that one... - trojanfoe
Please note that tags stand alone. That is, adding the provisioning and profile tags doesn't mean the same thing as the provisoning-profile tag. Please be sure to select tags with care! - Charles
@kanstrakta Using my own Apple Id in iCloud fixed that issue for me. I was going to try using my own Apple Id in iTunes next if that hadn't worked. - Brad Thomas

9 Answers

605
votes

These settings have now moved to Preferences > Accounts:

enter image description here

244
votes

If you like to manually manage your profiles (mostly to clean up):

  • Open Windows/Devices in Xcode 6
  • Select your device
  • Show Provisioning Profiles:
  • open provisioning profiles
  • You'll get + and - buttons to add/remove profiles:
  • profiles

No longer supported ... you can also download Apple's iPhone Configuration Utility 3.5 for Mac OS X, it still has "Provisioning Profiles" and works with Xcode 5 -- it's now gone from Apples site but you can find an alternative download link in @suda's comment.

76
votes

Provisioning files are located in:

/Users/${USER}/Library/MobileDevice/Provisioning Profiles/

Just remove the out-of-date files.

39
votes

Xcode 5 lost my Mac Provisioning Profile while the one for iOS was present. The tips elsewhere helped solve the problem; this is what I did, because I noticed the lists were too short and did not include *Mac Team Provisioning Profile: **

  1. Xcode menu => Preferences => Accounts
  2. Select the Apple ID in the left panel.
  3. Click the View Details button on the right.
  4. In the pop-over that follows click the round refresh arrow. The lists will refresh after the download from the Member Center finishes. This can take a few minutes.
  5. The provisioning profiles can then be selected in a Mac project under Build Settings => Code Signing => Provisioning Profile.
7
votes

Try this:

Xcode >> Preferences >> Accounts

4
votes

You can add account in the preference -> Accounts setting.

It seems that you already configure xCode4, then I think you can select your certificates for compiling in project-> Building Setting directly since your certificates are already in your keychain.

4
votes

After searching a few times in google, i found one software for provisioning profiles.

Install this iPhone configuration utility software and manage your all provisioning profiles in MAC.

3
votes

Stupid as it may sound but all "Provisioning Profiles" re-appear under "Organizer - Devices" once you connect a real device.

2
votes

For me, the refresh in xcode 5 prefs->accounts was doing nothing. At one point it showed me three profiles so I thought I was one refresh away, but after the next refresh it went back to just one profile, so I abandoned this method.

If anyone gets this far and is still struggling, here's what I did:

  1. Close xcode 5
  2. Open xcode 4.6.2
  3. Go to Window->Organizer->Provisioning Profiles
  4. Press Refresh arrow on bottom right

When I did this, everything synced up perfectly. It even told me what it was downloading each step of the way like good software does. After the sync completed, I closed xcode 4.6.2, re-opened xcode 5 and went to preferences->accounts and voila, all of my profiles are now available in xocde 5.