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
#不输入默认不做修改