Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
561 views
in Technique[技术] by (71.8m points)

ios - XCode "Too few items in teams" error when refreshing provisioning profiles

I'm trying to build my apps. I've installed the provisioning profiles that my team has set up. I've installed my developer certificate and the WWDR certificate. But when I refresh my provisioning profile library it throws this error:

enter image description here

I have no idea what to do.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

It seems like I had two accounts for apple like most people: 1) email address account and 2) just apple user ID login.

When you sign up for an iOS developer account, only one account gets approved as an iOS developer. It doesn't matter if those two accounts are merged and linked inside apple profile, only one gets approved. You can check this by logging into both accounts separately to their developer website. One account will say you are a member and another will say pay up the fee to become iOS developer.

The problem is that your keychain already stored one of apple id credentials from the past... and you probably signed up for apple iOS developer program using the other apple login. Xcode automatically gets keychain's previously stored credential for 'Teams' section and since that account from keychain was not activated for the iOS developer account, it's complaining that no one is a valid developer in 'Teams'.

To solve this,

  1. delete any, all apple related stuff from your keychain login.

  2. revoke all the problematic profiles, certs, etc from apple website.

  3. just redo provisioning process only using iOS developer approved apple login.

  4. From XCode Organizer's Teams section, click 'refresh' icon at the bottom and follow direction.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...