【Fabric】深入了解

原创
2016/08/04 11:42
阅读数 206

Fabric

自动打包工具 fastlane

安装fastlane

官方网站: https://fastlane.tools/

on github: https://github.com/fastlane/fastlane

sudo gem install fastlane -NV 或者 brew cask install fastlane

依赖brew

https://my.oschina.net/kshopping/blog/703029

常用命令

fastlane init

fastlane ios beta

命令帮助

fastlane action are_we_pristine

私有action

submit_to_crashlytics(
group:"ua-run-china-internal",
build_label:"",
scheme:""
)

desc ""
private_action :submit_to_crashlytics do | option |
distribution_group=options[:group]
scheme=options[:scheme]
end

pem

创建新的签名请求(signing request)
创建新的推送证书(certification)
下载证书(certificate)
在当前工作目录创建新的 .pem 文件,你可以上传到你的服务器

pem使用

强制执行更新
pem --force

生成com.go-swift.net的推送证书
pem -a com.go-swift.net -u appidName

设置p12密码
pem -p "password"

输出指定文件
pem -o pem.pem

安装插件

必须安装brew install graphicsmagick

在fastfile中添加action
lane :genAppicon do
    appicon(appicon_image_file: "Themoji.png",
    appicon_devices:[:iphone],
    appicon_path:"img")
展开阅读全文
加载中
点击引领话题📣 发布并加入讨论🔥
打赏
0 评论
0 收藏
0
分享
返回顶部
顶部