Xcode CI launched UITests (loading 10 screenshots for - [AppTests textExample])

The problem is that when CI Server does the integration with Bot for the first time, all tests (UI and UNIT) work fine, but with the second integration the server is stuck with this status:

enter image description here

and I can’t cancel the integration, I can’t stop the process, every time during the second integration I need to remove the bot and create a new one.

Working with the latest MacOS Server Xcode 8 and iPhone 7 Simulator on iOS, I tried other simulators, nothing has changed.

This will happen if I have a UITest, with all tests running fine.

+5
source share
2 answers

Found this on Twitter by @steipete:

Known issues, Xcode 8.2:

"Simulator_app shows a black screen when booting simulated devices on macOS that do not support Metal." 

https://developer.apple.com/library/prerelease/content/releasenotes/DeveloperTools/RN-Xcode/Introduction.html

The only computers that support Metal are:

  • MacBook (Early 2015)
  • MacBook Air (Mid 2012 or later)
  • MacBook Pro (Mid 2012 or later)
  • Mac mini (late 2012 or later)
  • iMac (end of 2012 or later)
  • Mac Pro (end of 2013 or later)

( https://support.apple.com/en-us/HT205073 )

So, if your computer is older, this seems to be causing these problems.

0
source

I had the same problem, but I was able to solve it just by checking my test code.

Test package failed (in my case, due to an implicitly deployed option, as I expected an environment variable to be defined).

You can download magazines by clicking the "Download magazines ..." button.

Download Xcode log

There I was able to find an exception and solve the problem.

-1
source

All Articles