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

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


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.


This happened to me when I use Apple Developer account which does not have valid iOS developer certificate. The certificate is either expired or never bought in the first place.

Once I log in with the valid iOS Developer account, the problem no longer appears.


My solution was a simple logout from iTunes and Mac App Store. I was loged with an different Apple ID. This Apple ID is different from my Apple ID that I'm using for iOS Program.


matomo