fastlane ios gym配置

lane :beta do

 gym(use_legacy_build_api: true,codesigning_identity:"iPhone Developer: xxx (HPBxxxxxxxx)",scheme: "AdHoc",export_method:"ad-hoc",configuration: "Debug", workspace: "xxxxxx.xcworkspace",silent: true, output_directory: "ipaout",output_name: "xxx_adhoc.ipa") 

  end

上例是打测试包的gym配置
codesigning_identity 上面例子是手动设置签名的写法,xcode字段管理签名就写成 codesigning_identity:"iPhone Developer"

output_directory 我这里是在项目根目录下创建了一个ipaout 目录

gym 文档路径
https://docs.fastlane.tools/actions/#building

ipa创建

fastlane beta

你可能感兴趣的:(fastlane ios gym配置)