问题描述
接着我在,我现在面临着一个有趣的挑战,就是要为一个iOS项目做同样的事情!
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!
我想做的是拥有TeamCity的工作(以及我们所有的工作)其他Teamcity作业)来构建iOS代码库+运行单元测试。
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.
我想知道的是……有人成功做到了吗,集成了Windows TeamCity实例并在另一台计算机上运行 OSX Build Agent ?
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?
是否存在任何我们可以租用具有OSX虚拟机的云提供商来安装构建代理?
Are there any cloud providers that have OSX Virtual Machines we can rent to install a build agent?
推荐答案
MacOS代理的安装过程与Windows或Linux下的安装过程相同。请查看相应的。
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:
- 解压缩zip文件
- 编辑
buildAgent.properties
文件以使代理知道服务器的位置 - 运行
agent.sh start
- 授权服务器上的代理
- 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
这篇关于设置TeamCity以集成到OSX Build Agent的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!