美文网首页iOS
iOS自动打包脚本

iOS自动打包脚本

作者: fanrr | 来源:发表于2016-10-26 16:22 被阅读0次

xcodebuild

Xcode打包脚本

github地址
test
)

怎么用它?

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

相关文章

网友评论

    本文标题:iOS自动打包脚本

    本文链接:https://www.haomeiwen.com/subject/spaduttx.html