简体   繁体   English

带有fastlane的Xcode 9.1无法无头运行

[英]Xcode 9.1 with fastlane not running headless

I'm running fastlane scan for our UI Tests on a iPad Air 2 iOS 11 simulator and my understanding from this article https://dzone.com/articles/new-xcuitest-features-with-xcode-9-hands-on-explor is that it should run headless automatically. 我正在iPad Air 2 iOS 11模拟器上对UI测试运行fastlane扫描,对本文的理解如下:https://dzone.com/articles/new-xcuitest-features-with-xcode-9-hands-on-探索是它应该自动运行。

But it's launching the simulator every time. 但是它每次都会启动模拟器。 Is there a xcargs that needs passed to make it run headless. 是否需要传递一个xcargs来使其无头运行。

I don't see anything in the fastlane docs for scan that relates to headless. 我在fastlane文档中没有发现与无头有关的任何内容。

Just close the simulator application before you run xcodebuild . 在运行xcodebuild之前,只需关闭模拟器应用程序。 Conversely, if you want to see the simulator during tests, start the simulator beforehand via Xcode -> Open Developer Tool -> Simulator . 相反,如果您想在测试期间看到模拟器,请事先通过Xcode -> Open Developer Tool -> Simulator

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM