简体   繁体   中英

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.

But it's launching the simulator every time. Is there a xcargs that needs passed to make it run headless.

I don't see anything in the fastlane docs for scan that relates to headless.

Just close the simulator application before you run xcodebuild . Conversely, if you want to see the simulator during tests, start the simulator beforehand via Xcode -> Open Developer Tool -> Simulator .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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