xcodebuild
Xcode打包腳本
怎么用它?
- clone 工程
- 打開終端cd到xcodebuild工程下執行
$python build.py
- 設置參數
您需要設置參數,您的參數如下:
=========================
mainPath :None
targetName :None
xcworkspaceName :None
schemeName :None
certificateName :None
exportPath :None
=========================
mainPath
input mainPath:/Users/Raymond/Documents/Demo
targetName
input targetName:Demo
xcworkspaceName
input xcworkspaceName:Demo
schemeName
input schemeName:Demo
certificateName
input certificateName:iPhone Developer: xx xx (xxxxxxx)
exportPath
input exportPath:/Users/Raymond/Desk/IPA/
設置完參數,就等待IPA包的出現吧,傻瓜式的打包
- 修改參數
$python build.py -c
#or
$python build.py -config
#不輸入默認不做修改