I am clueless as to how to fix this "Build Service error issues" when I try to integrate a Xcode bot on my OS X Server 4.0.
Everything works fine on this server, I even have another working bot on another branch of the same project.
It throws me
Bot Issue: error. Build Service Error. Issue: Failed to mmap. Could not write data: Invalid argument (-1).
Got no idea what to do...
Thanks in advance!
This is apparently due to a bug in Xcode 6.1.1. In order to workaround, I reinstalled Xcode 6.1.
I was not able to just select another version of Xcode in the Server app, I had to completely reset the Xcode service (this will delete all your bots, you will have to recreate them):
sudo xcrun xcscontrol --reset
Before I could select Xcode 6.1 in the Server app I also had to run this command:
sudo xcrun xcscontrol --initialize
If someone feels very adventurous and would like to understand the root cause of the problem on Xcode 6.1.1, here is where the error comes from. The libgit2 binary is at /Xcode-6.1.1.app/Contents/Developer/usr/lib/libgit2.dylib
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