Previously, with Xcode 10, we were using altool
to upload to App Store:
ALTOOL="/Applications/Xcode.app/Contents/Applications/Application Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Support/altool" "$ALTOOL" --upload-app --file "$IPA_PATH" --username "$APP_STORE_USERNAME" --password @keychain:"Application Loader: $APP_STORE_USERNAME"
But with Xcode 11, "Application Loader.app" doesn't exist anymore, as part of the Xcode 11 changes:
Xcode supports uploading apps from the Organizer window or from the command line with xcodebuild or xcrun altool. Application Loader is no longer included with Xcode. (29008875)
So how do we upload from command line to TestFlight or App Store now?
Archive and upload your app using Xcode Choose Product from the top menu and click on Archive. The Xcode Organizer will launch, displaying any archives you've created in the past. Make sure the current build is selected and click on Upload to App Store in the right-hand panel. Select your credentials and click Choose.
Using Transporter app Once you click on the Add button you will need to pick the *. ipa file that you want to upload from your hard drive. Having done that you should see the below screen and a DELIVER button next to your application's icon. Clicking on it will push the app to the Apple Store Connect.
go to the 'Info' tab and in a menu 'Executable' choose 'Other...' in file window go to search input field and type 'terminal' and click on its icon when you find it. Now you should see 'Terminal. app' in 'Executable' field.
But with Xcode 11, "Application Loader.app" doesn't exist anymore, as part of the Xcode 11 changes: Xcode supports uploading apps from the Organizer window or from the command line with xcodebuild or xcrun altool. Application Loader is no longer included with Xcode. (29008875) So how do we upload from command line to TestFlight or App Store now?
To deploy to the App Store using Xcode 11 (for iOS 13), you should use Visual Studio for Macto build and upload your app. Application Loaderwill not be available for Xcode 11. On the Mac build host, open Application Loader.
For example, if you want to distribute your app using TestFlight or through the App Store, assign all the targets in a project to a team that belongs to the Apple Developer Program. When you upload or export your build, Xcode creates the necessary signing assets in the associated developer account.
Here are the steps to download and install apps with commands on Windows 11. On Windows 11, in addition to using a standalone (.exe or .msi) installer or the Microsoft Store, you can also use the Windows Package Manager (winget) to download and install apps on your laptop or desktop computer.
With Xcode 11 as command line tools, to validate or upload an ipa, replace altool
with xcrun altool
:
xcrun altool --validate-app --file "$IPA_PATH" --username "$APP_STORE_USERNAME" --password @keychain:"Application Loader: $APP_STORE_USERNAME" xcrun altool --upload-app --file "$IPA_PATH" --username "$APP_STORE_USERNAME" --password @keychain:"Application Loader: $APP_STORE_USERNAME"
Get more help with xcrun altool --help
.
Use command line tools,
xcrun altool --upload-app -f path -u username -p password
If your apple account use TWO-FACTOR Authentication , your password would be wrong , you need to go to https://appleid.apple.com/account/manage "Security - Generate Password"
to get the password
If you get other wrong , you could add --verbose
to print detail errors log, just like
xcrun altool --upload-app -f path -u username -p password --verbose
And , get more help with xcrun altool --help
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With