Post not yet marked as solved
Post marked as unsolved with 6 replies, 6,717 views
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 foundXcode 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 ProfilesTurned off Manage signing automatically in XcodeVerified team is “none”Removed my account from XcodeShut down XcodeWent to Keychain/My Certificates search for “company name”. Deleted certificate(s) and private keyWent to Keychain/My Certificates search for “develop”. Deleted certificate(s) and private keyWent 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 machineLogging 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.cerI verified the new cert was in fact in the MCI download the WWDRCA certificate here: https://developer.apple.com/certificationauthority/AppleWWDRCA.cerWent to the Finder, double-clicked on AppleWWDRCA.cer then development.cerDouble clicked on the team distribution.cer file I sent myself as Account HolderDouble 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 iOSLaunched Xcode, then added my account to Xcode preferences and selected my team. Under Manage Certificates I see a Development and a Distribution certificateI turned on Manage signing automatically and selected my team under Signing and CapabiitiesI then built and deployed successully a simple, single-view app that does nothing, to an actual iOS deviceI then archived and tried to distribute the app via the Organizer, accepting all defaults.I then got the above errorWhere am I going wrong?Thank you!