iOS项目自动打包
用的是:https://www.jianshu.com/p/a61fe38c8c29
需要上传到pgy /TestFlight
在脚本中加几句就可以了
另外一种方式,fastlane打包
首要条件:
# Installation Make sure you have the latest version of the Xcode command line tools installed: ``` xcode-select --install ``` Install _fastlane_ using ``` [sudo] gem install fastlane -NV ``` or alternatively using `brew cask install fastlane`
然后把fastlane/文件夹拷贝到项目根目录下,修改fastlane文件里的一些参数即可(schem / pgy api key/ pgy user key)
然后就是执行想要build的ipa:
# Available Actions
## iOS
### ios ad_hoc
```
fastlane ios ad_hoc
```
### ios develop
```
fastlane ios develop
```
### ios app_store
```
fastlane ios app_store
```
----
相关链接:https://github.com/XLsn0w/fastlane
此文仅为鄙人学习笔记之用,朋友你来了,如有不明白或者建议又或者想给我指点一二,请私信我。liuw_flexi@163.com/QQ群:582039935.
我的gitHub: (学习代码都在gitHub)
https://github.com/nwgdegitHub/