Search code examples
xcodeosx-server

OSX Server 3.2.1 integration build timing out when building sources


I have upgraded to OSX Server 3.2.1 and I am trying to get my bots to work again. I have one of my projects working, but when I have a workspace that tries to build I get stuck at the following message:

Integrating (step 4 of 9)...

Building sources Please wait...

This hanged for about 10 minutes and then fails with the following error:

Bot Issue: error. Build Service Error. Issue: Terminated xcodebuild since it produced no output for too long.

There aren't any other errors I see in the error logs. Does anyone have any ideas on how to troubleshoot this issue?


Solution

  • The cause of my issue was due to a bug in Xcode server 3.2.1. In the previous version, it read all of its signing certificates from the system keychain. As of 3.2.1, it has its own private hidden keychain. There are 2 workarounds for this:

    1. Override the xcode keychain with your existing system keychain (assuming your system keychain has all of your apps signing certificates already in it)
    2. Install Server 4.0 and Xcode 6.1. Apple has assured me that this is fixed in this version, though I have not tested this without also doing the above step. Additional information is available on the Apple forums here:

    https://devforums.apple.com/message/1053902#1053902