altool 位置:
/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/
Contents/Frameworks/ITunesSoftwareService.framework/Support/altool
使用方式:
altool –upload-app -f /path/to/app.ipa -u USERNAME -p PASSWORD
如果出現錯誤
altool[] * Error: Exception while launching iTunesTransporter:
Transporter not found at path: /usr/local/itms/bin/iTMSTransporter.
You should reinstall the application.
則
ln -s /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms /usr/local/itms
Reference:
altool 的使用說明
http://jaredverdi.com/post/101603121968/continuous-integration-and-apple-testflight
报错及解决:
问题:
Error: Unable to validate your application. Please sign in with an app-specific password. You can create one at appleid.apple.com.
解决:
Go to https://appleid.apple.com and log in
Click “Edit” on the right side of the “Security” section
Find “APP-SPECIFIC PASSWORDS” and click “Generate Password…”
Enter a label for the password, “Impactor” or whatever you want, and click Create
Copy and paste the generated password into Impactor’s prompt for your account password
问题:
Error: Exception while launching iTunesTransporter:
Transporter not found at path: /usr/local/itms/bin/iTMSTransporter.
You should reinstall the application.
解决:
ln -s /Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/itms /usr/local/itms