天天看点

iOS shell 脚本 ipa-build 自动打包a.xcode 必须附带“Command Line Tools” 

【转】自动打包说明

1.下载脚本文件

打包的前提条件:

a.xcode 必须附带“Command Line Tools” 

若没有,则可通过以下链接进行安装:

command line tools安装

2.打开下载下来的脚本文件:

iOS shell 脚本 ipa-build 自动打包a.xcode 必须附带“Command Line Tools” 

3.打包之前准备:

a.确保工程打包类型及打包证书已配置准确

b.确保打包环境无误

4.开始打包

根据下述路径进行终端命令打包

ipa-build(绝对路径) + 空格 +    工程的绝对路径
           

5.打包可能会遇到如下问题(小弟踩坑了):

xcrun: error: unable to find utility "PackageApplication", not a developer tool 
           
iOS