【fastlane】打模拟器用的.app


编译

build_ios_app(
  workspace: "test.xcworkspace",
  configuration: "Debug",
  scheme: "test",
  silent: true,
  clean: true,
  include_bitcode: false,
  xcargs: "-UseModernBuildSystem=NO",
  archive_path: "#{ENV['PWD']}/test",
  destination: "generic/platform=iOS Simulator",
  skip_package_ipa: true
)

安装

# 需要先启动对应的模拟器
xcrun simctl install booted test.app