Xcode supports uploading apps from the Organizer window or from the commandline with xcodebuild or xcrun altool. Application Loader is no longer included with Xcode Xcode supports uploading applications from the command line using the Organizer window or using XcodeBuild or xcRun altool. Xcode no longer contains the Application LoaderCopy the code
The official documentation
Application Loader officially disappears from the toolbar of Xcode after Xcode11. We can upload using xcRun altool or XcodeBuild (i.e., select Upload instead of package). Or fastlane automated package uploads, or Apple’s new graphical upload tools called the Transporter and Application Loader are also very handy. Instead, upload to the App Store using the XCRun AlTool.
If you prefer the graphical interface you can download Transporter upload. If you use the xcRun altool, you can upload using the xcRun altool. The verification is a few seconds fast, the upload time depends on the Internet speed, my first upload took about 10 minutes.
validation
xcrun altool --validate-app -fIpa > -t iOS --apiKey < key ID> --apiIssuer <issuer ID> --verbose Example: xcrun altool --validate-app-f Users/macbookpro/Desktop/317hu\ 2019-10-31\ 14-23-34/317hu.ipa -t ios --apiKey 5Z7J --apiIssuer 69a6de8a-5b8c7c11a4d1 --verbose
Copy the code
Authentication is successful
No errors validating archive at '/Users/macbookpro/317hu.ipa'
Copy the code
upload
xcrun altool --upload-app -fIpa > -t iOS --apiKey < key ID> --apiIssuer <issuer ID> --verbose This example replaces validate with uploadCopy the code
Uploaded successfully
No errors uploading '/Users/macbookpro/317hu.ipa'
Copy the code
throughxcrun altool
Command can be viewed and usedaltool
The command
Obtain the key ID and issuer ID to download the API key
Steps: Go to Users and Access > Secret Keys > Generate Secret Keys
ApiKey is the key ID. ApiIssuer is the Issuer ID. Remember to download the API key and create a new private_keys file in the user directory to put the key in, otherwise an error will be reported.
Could not find private key file: AuthKey_5ZGKY5BF7J.p8, inany of the following locations. ./private_keys or <user home>/private_keys or <user home>/.private_keys or <user Home > /. Appstoreconnect/private_keys position of any of the following can't find the private key file: AuthKey_XXXXX, p8. ./private_keys or < home directory > /private_keys or < home directory > /. Private_keys or < user home directory > /. appstoreconnect / private_keysCopy the code
You can also upload with your account and password authentication, but because you’ve got two-factor authentication enabled, you probably don’t have to do that.