iOS Question Hosted builder can't find xcode version

Valtron

Member
Licensed User
Longtime User
Installed build server on mac mini running Catalina 10.15 and Xcode 11

Getting following error when running buildserver :

Vals-Mac-mini:B4iBuildServer valraemaekers$ java -jar B4iBuildServer.jar

Build server version: 6.01

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

2019-10-28 15:43:50.066:INFO::main: Logging initialized @477ms to org.eclipse.jetty.util.log.StdErrLog

Loading default configuration file.

AppPath=/Users/valraemaekers/Desktop/B4iBuildServer

Mac version: 10.15

Failed to find xcode version.
 

Brandsum

Well-Known Member
Licensed User
If you just installed it from appstore then you need to open it and accept xcode license. After that some components will be installed. Then try to run local build server.

If it still cant find the xcode version then try to reboot your mac. I faced this too but the problem was Adobe AfterEffect. If any heavy software is running in background then close that and try again.
 
Upvote 0

Valtron

Member
Licensed User
Longtime User
Restarted terminal but still not working
Have bought hosted builder service to get app compiled urgently
 
Upvote 0

Markos

Active Member
Licensed User
Longtime User
Restarted terminal but still not working
Have bought hosted builder service to get app compiled urgently
Did you open Xcode and login with your credentials at any point? I seem to recall having that as a must do step when I installed a newer version of Xcode.
 
Upvote 0

Valtron

Member
Licensed User
Longtime User
Don't reinstall Xcode 11 for now.

Vals-Mac-mini:~ valraemaekers$ xcodebuild -version

xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance


To fix the error :
Vals-Mac-mini:~ valraemaekers$ sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

Thanks for your help Erel , Buildserver is now running
 
Upvote 0
Top