Xcode: Not on any development teams
In Xcode > Preferences > Accounts, try deleting -
the selected (problem) account and then adding +
again. This quickly fixed the issue for me.
Background: I'm in both Mac & iOS Developer Programs. Unannounced, the Mac Developer side was no longer provisioned. Looking at Accounts, showed only iOS program signing identities and provisioning profiles. The above steps restored Xcode and my Mac apps.
If anyone comes here after finding the issue in XCode 6.1, simply remove then re-add your Apple ID. Nothing worked for me until I did that.
I did what Iniles did, but I can't comment on his answer. Here are the steps, since they didn't outline them:
- Go to iOS Dev Center
- Select 'Certificates, Identifiers & Profiles' in the top right. (This won't be there if your membership has expired.)
- Select 'Certificates'
- Click on your username
- Select 'Download'
- Do the same for your Distribution Certificate. Mine didn't work till I downloaded both.
- Open the file, should auto open in Keychain Access. If it doesn't, open Keychain Access and drag over the file into your 'login' keychain.
Make sure the certificate is being installed in your 'login' keychain in Keychain Access. I once had an issue where it was going to the wrong place.
I'd also like to note that I had to do this every time I updated the provisioning profiles, so I think it might be a bug with their server right now.