Setting up TeamCity to integrate to OSX Build Agent

╄→尐↘猪︶ㄣ 提交于 2020-01-02 05:18:25

问题


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:

  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


来源:https://stackoverflow.com/questions/35200561/setting-up-teamcity-to-integrate-to-osx-build-agent

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!