Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Playing with beta Xcode Server
- I wanted to get may hands on this new and fancy Xcode Server, so I've jumped straight to installing beta Xcode and beta OS X Server - that was easy (as always), but...
- When I've opened OS X Server and switched to Xcode tab I had to choose Xcode which I want to use as Xcode Server - fine, but to easy tasks in a row can't complet with success. I get this rather *confusing* dialog:
- > You must agree to the terms of the Xcode software license agreement os x server
- WTF!? I've accepted license agreement in both of my Xcodes (beta and regular one), so what more do you want from me, Apple?
- Okay, Google to the rescue!
- ```bash
- sudo xcodebuild -license
- ```
- And?? Nothing... Still the same...
- I had to dig deeper to find anything at all but I've found that those two Xcodes are somehow competing with each other and my `xcode-select` was set to the regular version, not the beta one, so I've changed it using:
- ```bash
- sudo xcode-select -s /Applications/Xcode-beta.app/Contents/Developer
- ```
- Anyway, that'd be to perfect to be true, so I still get same _You must agree..._.
- Luckily, I don't exactly remeber where I found this but it was something like
- > You have to reset `xcscontrol`
- Fine, let's do this by typing:
- ```bash
- sudo xcrun xcscontrol --reset
- ```
- But this will only remove all `xcscontroll` setting (and there are a lot of them...), so after this you have to init them with this command:
- ```bash
- sudo xcrun xcscontrol --initialize
- ```
- Now you should be ready to go, but remeber to *restart* OS X Server before re-attempting to select Xcode!
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement