借鉴使用这两篇文章
https://mp.weixin.qq.com/s/2BRbqoqgniS5EugEsuf0Cw
https://www.cnblogs.com/lulushen/p/8268330.html
default_platform(:ios)
platform :ios do
desc "Push a new release build to the App Store"
lane :development do
# 增加build版本号
increment_build_number
match(
git_url: "https://github.com/zjh171/fastlaneProvingProfile",
type: "appstore" ,#can be appstore,adhoc, development,enterprise
app_identifier:" ",
username:" ",
readonly: true
)
gym(
scheme:"********",
export_method:"development",
output_directory:"/Users/s/Desktop/fashlane",#打包后的ipa文件存放的目录
output_name:"********" # ipa文件名
)
# add actions here: https://docs.fastlane.tools/actions
end
end