Expected Result: You check the "Test" checkbox when creating a bot and Xcode server flawlessly executes mt tests like in the WWDC.
Result: Xcode barfs up a bunch of simulator timeout errors and the integration fails.
Test target "xxx" encountered an error (Timed out waiting 120 seconds for simulator to boot, current state is 1. If you believe this error represents a bug, please attach the log file at /Library/Developer/XcodeServer/Integrations/Integration-0e5a387ef456a57b7a2d5a90d004256d/xxxx.log)
Environment:
Real Problem: I'm a competent enough programmer with several years of iOS experience. It's hard to believe, although maybe it shouldn't be, that something that looks so simple in WWDC would fail so hard for on two different operating systems and versions of Xcode.
Notes:
Here is a list of other people having similar issues, maybe it will help others:
Xcode server, bots, continuous integration, and unit-testing on the simulator (Same issue, solution didn't work)
https://github.com/czechboy0/Buildasaur/issues/84 (Not exactly the same, but related)
http://joshuabrauer.com/2015/04/xcode-server-and-continuous-integration-ios (One of the few to have solved it, wasn't able to replicate)
Timeout when running xcodebuild tests under Xcode 6 via SSH (Solution for Jenkins)
Xcode Server Simulator Times Out Waiting 120 Seconds (unresolved)
Please duplicate the radar https://openradar.appspot.com/23386199 so apple hopefully recognizes this strange behaviour
This worked for me: Xcode server, bots, continuous integration, and unit-testing on the simulator
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With