问题
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:
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:
- unpack the zip file
- edit
buildAgent.properties
file to let the agent know where the server is - run
agent.sh start
- authorize the agent on the server
来源:https://stackoverflow.com/questions/35200561/setting-up-teamcity-to-integrate-to-osx-build-agent