ioscertificaterefreshprovisioningorganizer

too few items in teams


I am trying to set up a new machine with XCode and my developer account and keep running into the following error while trying to refresh provisioning profiles from the Organizer:

Too few items in Property/teams/Entity/Developer

I have followed all of the suggestions in this thread, to no avail.

It seems like it's a problem with multiple/incorrect identities in the keychain, but I have not been able to fix it thus far, and there seems to be very little info on this issue in the wild.

I have tried all of the following:

  1. Deleting all of development-related certificates in my keychain
  2. Revoking/reissuing the development certificate via iOS dev center.
  3. Logging out of all other Apple-related services (iTunes, App Store, etc).
  4. Reinstalling XCode via App Store.

Has anyone else had this problem?


Solution

  • Was able to solve this just now by following some advice from another developer forum.

    This worked for me:

    1. Log out of all services requiring an Apple ID (iTunes, App Store, etc)
    2. Delete any existing developer identity certificates from your keychain.
    3. Open keychain and delete all keys containing "daw2.apple.com" and "daw.apple.com" from all keychains.
    4. Close and reopen XCode.
    5. Open organizer and click refresh. You will be prompted to enter your account information. Make sure to enter the Apple ID associated with your developer account. Check the box "store in keychain".
    6. It should fetch the certificates and provisioning profiles from your developer account and the error should be gone!

    Credit to Ronald Lee for this answer.