Hi. I am setting up a build agent. I've been using team city for a while and I have another build agent to copy from, but I have not been able to figure out this issue.
The build agent is being installed under MacOS X and will be used to build a Mac app using Xcode.
I downloaded and installed Xcode. The version I installed is 7.0. I have verified that xcodebuild works.
I downloaded "buildAgent.zip" and unzipped it in my home directory. I copied the file buildAgent.dist.properties and named the new version of the file "buildAgent.properties". Then I modified the new buildAgent.properties file and set the serverUrl to be our teamcity server and set a name for the new build machine. Then I saved the changes.
Next in the Terminal, I ran "agent.sh start" to start the agent.
Then on the team city web page, I saw the new agent appear in the list of agents. Then I asked our system administrator to authorize the new agent. Once it was authorized, I looked at my project settings under "Compatible Agents". For this build machine, I see "Unmet requirements" listed as:
tools.xcode.version.major is not less than 4
Then I take a look at the "Agents" tab. Under this tab I see that my new build agent does not have any of the values set for "tools.xcode.XXX". The old build agent has several settings labeled "tools.xcode.XXX". However, I have looked and so far I have been unable to find anything about how these things should be set.
The version of TeamCity is TeamCity Enterprise 8.1.1 (build 29939). I have tried running grep on the entire filesystem looking for "tools.xcode" and I haven't found anything.
Any suggestions as to how this can be addressed would be appreciated.