iOS 自动打包工具

http://cdn.www.applicationloader.net/blog/zh/406.html

https://github.com/hades0918/ipapy

xcodebuild和xcrun都是来自Command Line Tools,Xcode自带,如果没有可以通过以下命令安装: xcode-select --install

流程:

1 :安装ruby-2.3.0版本 #打开终端输入xcode-select --install,若提示如下图,则说明已经安装了Xcode命令行工具;否则会弹出对话框,选择安装即可。


2: 安装fastlane   #sudo gem install fastlane --verbose


3 :使用命令安装fir插件

4 :配置Appfile文件

    配置Fastfile文件,在编写fastfile文件之前,需要打开Xcode,将Automatically manage signing选项去掉,手动进行选择,且能编译运行,


iOS 自动打包工具_第1张图片

5导出ipa包

6 上传到内侧平台

      上传fir.im步骤

      1: fir v 查看版本

      2:fir login 登录

      3:fir token 输入apiToken

      4: fir i + ipa路径 (查看ipa包信息)

      5 fir p + ipa路径(上传fir.im)

你可能感兴趣的:(iOS 自动打包工具)