iOS use altool automatically upload to appstore packaged ipa

Mainly record number, to every province of Baidu

altool in his xcode installation directory:

/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Verions/A/Support/altool

Pit: in this case the xcode install multiple versions, and did not find this tool in this path, you need to find their own
Set the alias:
Alias altool = '/ the Applications / Xcode.app / the Contents / the Applications / the Application \ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Versions/A/Support/altool'

source ~/.bash_profile

Verify ipa

altool --validate-app -f file -t platform -u username [-p password]

Upload ipa

altool --upload-app -f file -t platform -u username -p password


Apple's official documentation: https://help.apple.com/itc/apploader/#/apdATD1E53-D1E1A1303-D1E53A1126

Author: jamalping
link: https: //www.jianshu.com/p/dafa659a5b5a

Guess you like

Origin www.cnblogs.com/xiu1004/p/11127629.html