Dov F.

Q: NSURL bookmarks failing in unit tests on Xcode Server

In the unit tests for my app, I create an document-scoped NSURL bookmark. These tests have always worked correctly on my machine (and still do), but are now failing when run on an Xcode Server bot. I'm setting up Xcode Server for the first time, so these may never have worked there.


To reproduce:


  1. Checkout a copy of my test project from GitHub: https://github.com/abbeycode/XcodeBotUrlBugDemo
  2. Run the unit tests in Xcode, verifying that they succeed
  3. Create an Xcode bot for this project that runs unit tests
  4. Trigger an integration

 

The unit tests on the build server should fail. If they do not fail for you, please help me figure out what configuration needs adjustment on the server.


To troubleshoot, you can clone the repo to the server and use that for integrations. That fails in the same way for me.

OS X Yosemite (10.10.1)

Posted on Jan 8, 2015 3:38 PM