Fastlane 最新的自动打包上传到firim 脚本

1.安装插件

fastlane add_plugin firim

fastlane add_plugin fir_cli

default_platform(:ios)

platform :ios  do
  
  desc "lane do"
  lane :TestFir do
   time = Time.new.strftime("%Y%m%d")
   version = get_version_number
   ipaName = "Release_#{version}_#{time}.ipa"
   gym(
     scheme:"项目名称",
     export_method:"development",
     configuration:"Release",
     output_name:"#{ipaName}",
     output_directory:"./build"

    )

fir_cli api_token: "firapitoken",  changelog: "Hello fir.im"    

   end
end

参考文章
fir_im配置

你可能感兴趣的:(Fastlane 最新的自动打包上传到firim 脚本)