Reputation: 1094
Today I updated my Ad Hoc provisioning profile to include new devices using the developer provisioning portal.
The update went normally, but after downloading the updated profile, the "Team" field in XCode's Organizer shows "Unknown." When building the profile cannot be found.
Any idea what's causing this "Unknown" team? I opened the profile as a PList and see the team name is still included in the file itself.
Is anyone else having a similar issue today?
Upvotes: 21
Views: 21632
Reputation: 742
Since this answer is already a bit older but still shows up as a first result when searching for the Unknown Team issue: Make sure that your account has access to the certificates and identifiers as described here.
I also mentioned it in the comments of the mentioned post, but you eventually need to remove and add your account in Xcode > Preferences > Accounts after enabling & saving the certificates access on App Store Connect, so all the teams show up in Xcode.
Upvotes: 3
Reputation: 101
I had my personal iCloud account not connected to the account the profiles where signed to, so my account was not a member of the team/organization. After adding my personal account and a restart of Xcode, the team name showed up.
Upvotes: 1
Reputation: 19446
Be sure to check this answer also, not only was my team "unknown", but the organizer kept on crashing.
Xcode crash when refreshing provisioning profiles
Upvotes: 0
Reputation: 5469
For me it worked after opening the Organizer window on the Provisioning Tab, then clicking on the Refresh button (on the bottom right corner).
Upvotes: 22
Reputation: 19
My bad. Open Utilities > Keychain Access. You should see a bunch of private or public keys with nondescript metadata. Delete all of them and then go to Xcode's Organizer. Go to the Devices tab, select Provisioning Profiles from the Library and hit Refresh. The team should be defined in the latest profile.
Upvotes: 1
Reputation: 19
The issue has to do with too many SSL certs confusing Xcode. See http://simianzombie.com/?p=2306.
Upvotes: 0