我是快车道的新手并试图在travis上配置它。 我想在模拟器上安装.app文件并打开它。 (我这样做是为了对travis进行appium测试)
请告诉我如何使用快速通道在travis上实现这一目标?
我目前的fastFile看起来像这样,
lane :test do
scan(scheme: "MyScheme")
end
答案 0 :(得分:2)
gym(
scheme: "SchemeName" ,
configuration: "ConfigurationName",
clean: true,
workspace: "WorkSpaceName.xcworkspace",
output_directory: "../output_directory",
output_name: "IPA_Name.ipa",
xcargs: "ARCHIVE=YES" # Used to tell the Fabric run script to upload dSYM file
)
open -a Simulator
xcrun simctl install booted ../output_directory/IPA_Name.ipa