Posts

Post not yet marked as solved
0 Replies
1.8k Views
Feature Suggestion Allow “manageAppVersionAndBuildNumber” and “upload” in "-exportOptionsPlist" to use the App Store Connect API Key information passed in through “-authenticationKeyPath”, “-authenticationKeyID”, and “-authenticationIssuerID” so having a logged in Apple ID through Xcode is not required Motivation I'm trying to use the xcodebuild CLI tool to upload to the App Store with the "upload" value for "destination" in the "-exportOptionsPlist". Historically the only authentication method has been Apple ID. Xcode 15 adds support for the App Store Connect API Key. This API Key is used for -allowProvisioningUpdates but it isn't working for the "upload" destination. The reason I am trying and hoping to use upload to the App Store with xcodebuild is because I want to make use of the new ability to manage version number and build numbers. This is done by adding the “manageAppVersionAndBuildNumber” in the “-exportOptionsPlist”. This does work, however, the “manageAppVersionAndBuildNumber” and “upload” only work with the Apple ID that is signed into Xcode through the preferences. Getting and updating the app version and build number and uploading the binary are all possible to do with the App Store Connect API Key in other tools.
Posted
by oddvacado.
Last updated
.