iOS 使用altool自動打包ipa上傳到appstore


主要是記錄一些,省的每次都去百度

altool在自己的xcode安裝目錄下:

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

坑點:這個在安裝了多個版本的xcode情況下,並沒有在此路徑中找到這個工具,需要自己找一下
設置別名:
alias altool='/Applications/Xcode.app/Contents/Applications/Application\ Loader.app/Contents/Frameworks/ITunesSoftwareService.framework/Versions/A/Support/altool'

source ~/.bash_profile

驗證ipa

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

上傳ipa

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


蘋果官方文檔: https://help.apple.com/itc/apploader/#/apdATD1E53-D1E1A1303-D1E53A1126

作者:jamalping
鏈接:https://www.jianshu.com/p/dafa659a5b5a


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM