iOS

iOS自动打包脚本

2016-10-26  本文已影响0人  fanrr

xcodebuild

Xcode打包脚本

github地址
test
)

怎么用它?

$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
#不输入默认不做修改
上一篇 下一篇

猜你喜欢

热点阅读