Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
1. 修改
mainPath
,方便用户修改target_path
目录改为:
2. 修改
tag
,去掉默认操作master
分支,改为操作全局设置的tag
分支改为:
3. 修改
git clone
, 复制整个仓库,方便切换分支改为:
4. 修改
build
方式,改用archive
方式,xcode8
以后改用此方式打包改为:
5. 修改
ipa
打包方式改为:
6. 创建plist文件,打包之前需创建
targetName.plist
文件, 放到需要打包的目录下其中, plist文件各个字段含义如下:
compileBitcode
字段是不生成bitcode代码method
字段是生成的ipa包的类型,可选的类型有app-store, package, ad-hoc, enterprise, development, and developer-id
teamID
证书的ID