-
All replies
-
Helpful answers
-
Apr 16, 2015 11:28 AM in response to ThisCorrosionby Mark Szymczyk,Did you update OS X Server and Xcode Server? An updated version of Xcode may require updated versions of the Server apps to use bots.
-
Apr 20, 2015 3:47 AM in response to Mark Szymczykby jimmyjudas,I'm having the problem with Server 4.1 and Xcode 6.3.
-
Apr 20, 2015 3:59 AM in response to ThisCorrosionby ThisCorrosion,I found it started working if I left it alone for a while. After being contacted by an Apple engineer on Twitter it seems that after everything is updated it takes a while for it to run all of the initialisations. So the approach seems to be:
1) Update OS X, Server.app and Xcode
2) Reboot, start up Server.app and leave it alone until Spotlight has stopped grinding away
3) Start up Xcode and give it a few minutes while it runs all the new initialisation processing
4) Select the Xcode item in Server.app and attach the new version of Xcode
It does seem to get there eventually but isn't helped by the worryingly incorrect error message.
-
Apr 20, 2015 10:21 AM in response to jimmyjudasby Mark Szymczyk,I don't use Xcode bots so I can't provide you a solution.
-
May 18, 2015 2:04 PM in response to ThisCorrosionby FixMaestro,I have the same versions that you have and noticed this happened to me as well. The issue I experienced is that while configuring Xcode on the OS X Server, the software requires specific permissions to exists in many various directories. I think it may be that the install of the latest Xcode (not sure) may have hosed the permissions.
The way to fix this is to open the Disk Manager from utilities and then select the volume that you run this on. On the First Aid tab, choose either Verify Permissions (on the lower left) or Repair Permissions and let it run. After it completes, restart the machine and try again to choose the latest version of Xcode. With luck, you'll find it works fine now.
Hope this helps.
-
-
Jul 16, 2015 10:46 AM in response to FixMaestroby JeffAtWork,FixMaestro, this worked for me too. The operative part was "reboot!"
My experience was with:
OS X 10.10.4
Xcode 6.4
OS X Server 4.1.3
-
Aug 4, 2015 11:35 AM in response to FixMaestroby BobbyDubWork,I have tried doing the fix permissions. My OS X server works with Xcode when I reboot the machine an start it up fresh.
After it sitting for a day or two it manages to lose the Xcode connection and tells me I need to Select the version of Xcode again even though I have already set it. Bots will stop doing their On Commit runs as it can no longer attach to xcode.
No updates have been done during this time, the server has not changed IP and I have no server alerts pending it just loses its connection.
Rebooting OS X Server does not fix it. Occasionally if I turn of Server for a bit and wait an hour it will then find the connection again on starting the app but restarting the machine and launching Server will fix the issue. For a CI environment I cannot keep restarting the machine for it to work it should just work as long as the machine is on and server app is running.
Is there a way to fix this or will I have to wait for the next version of OS X Server and Xcode for things to work better?
-
Aug 4, 2015 11:55 AM in response to BobbyDubWorkby JeffAtWork,I am having the same issue, where Xcode Server seems to forget the Xcode.app that I had selected.
If you can't find an answer in the forums, I would suggest filing an actual bug so that Apple is aware of the issue. I don't think it's easy for their development teams to track bugs that appear as posts in their user communities.
https://developer.apple.com/bug-reporting/
I am a little nervous that Xcode Server isn't ready for prime time yet, based on the number of severe bugs I've run into trying to accomplish even the simplest tasks (like selecting a version of Xcode to use). Filing a bug is my best option for improving the product.
-
Aug 4, 2015 12:35 PM in response to JeffAtWorkby BobbyDubWork,I logged a ticket as suggested. Thanks for the info. If I hear anything back I will let you know.
Otherwise I guess we wait for next version to see what happens then.
-
Sep 11, 2015 7:35 AM in response to BobbyDubWorkby iuser797,Hey BobbyDubWork, the same issue is bothering me too. Is it working for you now or any solution?