Short story:
I am getting this error and would very much appreciate any help. Thanks!
[Team Name] does not have permission to create "iOS App Store" provisioning profiles.
Select a different team and try again.
No profiles for [Bundle Name] were found
Xcode couldn't find any iOS App Store provisioning profiles matching [Bundle Name].
Full Story:
We have an Organization account.
Two developers on the team are getting the above error. I am the Account Holder and wanted to see if I could replicate it. To do that, I clean-sheeted it by creating a Developer role account in ASC with access to all apps and access to certificates and profiles checked. Then I:
- Deleted all .mobileprovision files under ~Library/MobileDevice/Provisioning Profiles
- Turned off Manage signing automatically in Xcode
- Verified team is “none”
- Removed my account from Xcode
- Shut down Xcode
- Went to Keychain/My Certificates search for “company name”. Deleted certificate(s) and private key
- Went to Keychain/My Certificates search for “develop”. Deleted certificate(s) and private key
- Went to Keychain/Certificates search for “worldwide”. Delete certificate(s)
- Went to Keychain/Certificate Assistant/Request a Certificate From a Certificate Authority (making sure nothing was selected for Keychains and “All Items” was selected in the Categories section of the Keychain. I then saved a signing request to my machine
- Logging in as that Developer role, I went to MC/Certificates and clicked on the plus sign to add a new certificate. Chose Apple Development (since I am usng Xcode 11), then clicked Continue. I chose the signing certificate request I just made, then Continue. I downloaded the new file, development.cer
- I verified the new cert was in fact in the MC
- I download the WWDRCA certificate here: https://developer.apple.com/certificationauthority/AppleWWDRCA.cer
- Went to the Finder, double-clicked on AppleWWDRCA.cer then development.cer
- Double clicked on the team distribution.cer file I sent myself as Account Holder
- Double clicked on the team distribution .mobileprovision profile I sent myself as Account Holder. This uses the Apple Developer certificate, and is a wildcard profile for iOS
- Launched Xcode, then added my account to Xcode preferences and selected my team. Under Manage Certificates I see a Development and a Distribution certificate
- I turned on Manage signing automatically and selected my team under Signing and Capabiities
- I then built and deployed successully a simple, single-view app that does nothing, to an actual iOS device
- I then archived and tried to distribute the app via the Organizer, accepting all defaults.
- I then got the above error
Where am I going wrong?
Thank you!