I am a member of a dev team. My employer has not made me an admin or a manager, so I must be a member of the dev team only (and not an admin.) As such, my developer account as a member of the team cannot create ad hoc distribution certificates. My employer has created an ad hoc distribution provision and they have provided me with a .mobileprovision file. I have created a build of our app, and then I have created an archive from the build. Once the archive is created, I go to:
Window -> Organizer -> Export -> Save for Ad Hoc Deployment
IF I CHOOSE: Use local signing assets
RESULT ERROR: Missing iOS Distribution signing identity for (null)
IF I CHOOSE: Our team name
RESULT ERROR: Permissions failure - Your account does not have permission to create iOS Distribution certificates
Two choices: Website, Import Developer Profile
RECAP SO FAR: I can't complete the ad hoc export. I am stopped by the above errors. To solve this issue, I have tried several things.
1.) I have erased all mobileprovision files from "~/Library/MobileDevice/Provisioning Profiles" and then restarted Xcode. I then went into Preferences -> Selected My ID -> Team Member -> View Details on my team, and downloaded all provisioning profiles. This did not get us past the above errors.
2.) Of course I have cleaned the project, restarted the computer, etc.
3.) While unlikely because this computer was purchased and set up this summer, I have checked on the Feb 14 expiration of Apple's World Wide Development Certificate and our system has a current cert for that in System and login which expires in 2023, so that is in good shape.
Please advise on how to complete the export of this ad hoc archive by getting past the above errors. Again, I am not in a position to simply have Xcode fix the issue for me since my developer account does not have permission to create ad hoc distribution profiles. I have received the mobileprovision file and I imagine that I need to do something with it to get Xcode to see it.
Thank you.