Xcode 7 & No suitable agents

Trying to set up TC for the first time. I installed 9.1.1 on our Mac mini that we use as a build box. Xcode 7 beta 6 is installed and works fine - we are also testing Xcode Server and it works, but has issues. I created a new project / build config and set it up according to the documentation. But it won't build b/c it says there are no compatible agents and I have no idea how to rectify this. I tried leaving the "Path to Xcode" field blank, and also putting in the correct path. I also verified that xcode-select is pointing to the right place. Help?

Thanks,
Glen

8 comments
Comment actions Permalink

Glen,
could you please go to your build configuration settings, there look for 'Agent Requirements' tab on the left. Could you please provide what requirements there are not met by your agents?

0
Comment actions Permalink

Here are the requirements:

Parameter Name Condition
tools.xcode.home exists
tools.xcode.version.major is not less than 4


And here's what's below it:

Compatible agents (0) List of incompatible agents Incompatible agents (0)
0
Comment actions Permalink

Do you have any agents registered and authorized on the server? From what I see, both compatible and incompatible agent lists are empty. It means that no agents are registered and authorized on the server.
If you go to Agents tab, do you see any existing agents?

0
Comment actions Permalink

Under the Agents tab it says "There are no agents available."

I'm not sure how to "register and authorize agents on the server". Either I missed it, or that's not mentioned in the "Installing and Configuring" docs.

0
Comment actions Permalink

TeamCity does not make any builds on the server itself. It utilizes a grid of build agents to execute build commands, run tests, publish artifacts etc.
You can read about installing and running agents here.

If you have only one machine that intended for use by both server and agent, you can run the agent that is located within TeamCity distribution under 'buildAgent' folder. If you have not changed anything after unzipping the TeamCity distribution, the agent should work straight away

0
Comment actions Permalink

That did it. I would suggest making the docs a bit clearer about this. I saw the section about setting up "additional build agents" and assumed there was already one set up.

I'm guessing this build agent won't start automatically? Is there a setting somewhere to make that happen?

Thanks,
Glen

0
Comment actions Permalink

Yes, I see. It is a little confusing. We will consider updating the documentation.

As for automatic start, instructions for MacOS can be found here. Instructions for other systems are on the same page

0

Please sign in to leave a comment.