4
votes

Following on from my question on Setting up Teamcity to build Android, I now have the fun challenge of doing the same for an iOS project!

What I would like to do is have a TeamCity job (along with all our other Teamcity jobs) to build an iOS Codebase + run unit tests.

I'm aware to build iOS we need an OSX Build Agent with XCode installed. It won't work on Windows.

What I'd like to know is ... has anyone successfully done this, integrated a Windows TeamCity instance with an OSX Build Agent running on another machine?

Are there any cloud providers that have OSX Virtual Machines we can rent to install a build agent?

1
I've just given up trying to do a push installation ... how painful?Jammer

1 Answers

3
votes

Installation procedure for MacOS agents does not differ from that under Windows or Linux. Have a look at corresponding section in the documentation.

Basically, what you need to do is:

  1. unpack the zip file
  2. edit buildAgent.properties file to let the agent know where the server is
  3. run agent.sh start
  4. authorize the agent on the server