FYI - it looks like I'm signed in with my work account now instead of my personal account, but I am the OP - coolblueflame.
Post
Replies
Boosts
Views
Activity
Getting Fastlane working to pass an authentication key into the xcodebuild command results in a signing permission error despite the authentication key having App Manager (and as a result Developer) permissions. I don't think we should need an Admin key to get it to work as that sounds like an unnecessary security risk. This same key is used in our upload process and seems to work correctly for the upload.
xcodebuild -exportArchive -exportOptionsPlist /Users/builder/Downloads/buildAgentFull/temp/buildTmp/gym_config20241029-84185-3dsrsh.plist -archivePath '/Users/builder/Library/Developer/Xcode/Archives/2024-10-29/SuperFlappyGolf 2024-10-29 11.08.58.xcarchive' -exportPath /Users/builder/Downloads/buildAgentFull/temp/buildTmp/gym_output20241029-84185-278oqi -allowProvisioningUpdates -authenticationKeyID OUR_KEY_ID -authenticationKeyIssuerID OUR_ISSUER_ID -authenticationKeyPath /Users/builder/fastlane/fastlane/asc_api.p8
error: exportArchive Cloud signing permission error
error: exportArchive No signing certificate "iOS Distribution" found
I redacted our actual key ID and issuer ID in the command above but thought it was worth posting the exact command being used by Fastlane. Prior to trying to get it to use the authentication key, the xcodebuild command just ended after the allowProvisioningUpdates argument.
Any further advice would be appreciated.