ChatGPT解决这个技术问题 Extra ChatGPT

Provisioning Profiles menu item missing from Xcode 5

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?

https://i.stack.imgur.com/eSkvI.png

Hasn't it all moved to Preferences > Accounts?
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.
I'd say it was due to parts of Apple Developer still being down. Nice timing on that one...
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!
@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.

t
trojanfoe

These settings have now moved to Preferences > Accounts:

https://i.stack.imgur.com/BujCQ.png


It seems though, that the provisioning profiles it displays are only those that pertain to that Apple ID. What if you have provisioning profiles installed on your Mac that aren't tied into the development teams your Apple ID is a part of?
@Vexir Sorry, I've no idea. That's not something I can test.
That screen doesn't offer a way to remove provisioning profiles which you don't need?
@AjaySharma No, it's an Apple utility.
You don't delete. Hit the refresh button at the bottom left and it will sync with the Dev Portal.
l
laktak

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

Open Windows/Devices in Xcode 6

Select your device

Show Provisioning Profiles:

You'll get + and - buttons to add/remove 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.


@hcris Looks good. But still there is no way to remove the provisional profile from here too ...
@Ajay Sharma - not sure what you mean. I can delete everything from there (just press delete).
@hcris I mean, any way to remove the provisional profile which are in under Library else provisional prof. which are under devices works well as you instructed.
@Ajay Sharma - yes you can delete them from the library worksforme
It looks like Apple has removed iPhone Configuration Utility 3.5 for Mac OS X from its servers. There is a copy on Softpedia though: mac.softpedia.com/get/System-Utilities/…
n
nacho4d

Provisioning files are located in:

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

Just remove the out-of-date files.


why people are upvoting other stuff? This is the best and the simplest answer to follow.
Also it works if you do not use Xcode with an Apple ID!
best answer and also the simplest. there should be multiple accepted answers :)
From the terminal: open /Users/${USER}/Library/MobileDevice/Provisioning\ Profiles/
P
Peter Mortensen

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: **

Xcode menu => Preferences => Accounts Select the Apple ID in the left panel. Click the View Details button on the right. 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. The provisioning profiles can then be selected in a Mac project under Build Settings => Code Signing => Provisioning Profile.


P
Peter Mortensen

Try this:

Xcode >> Preferences >> Accounts


L
Lei

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.


k
kapa

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.


K
KiRviz

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


That's only for that one device. It doesn't show all the profiles available on your Apple account
k
kapa

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:

Close xcode 5 Open xcode 4.6.2 Go to Window->Organizer->Provisioning Profiles 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.