Xcode 项目的持续集成? [英] Continuous Integration for Xcode projects?

查看:26
本文介绍了Xcode 项目的持续集成?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在使用 Hudson 与之前的项目进行持续集成之后,我想为我现在正在处理的 iPhone 项目设置一个持续集成服务器.在做了一些研究之后,似乎没有任何专门为 Xcode 设计的 CI 引擎,但是一个人取得了成功 结合使用 Cruise Control 和 xcodebuild CLI 工具.这里有人试过吗?有哪些 CI 引擎可以很好地与 Xcode 项目配合使用?

After using Hudson for continuous integration with a prior project, I want to set up a continuous integration server for the iPhone projects I'm working on now. After doing some research it looks like there aren't any CI engines designed specifically for Xcode, but one guy has had success using Cruise Control combined with the xcodebuild CLI tool. Has anyone here tried this? Are there any CI engines that work well with Xcode projects?

我可能会试试 Cruise Control.我将发布我的发现的答案.

I'm probably going to give Cruise Control a try. I'll post an answer with my findings.

推荐答案

我在 Mac 上通过 xcodebuild 成功使用 Hudson.随着 3.0 iPhone sdk 的发布,您可以完全控制要构建项目的目标、配置和 sdk.

I'm successfully using Hudson on the mac with xcodebuild. With the release of the 3.0 iPhone sdk you have compete control over the target, configuration and sdk that the project is to be built against.

就像在 hudson 中创建一个构建步骤并告诉 xcodebuild 构建项目一样简单:

It's as simple as creating a build step in hudson and telling xcodebuild to build the project:

xcodebuild -target "myAppAppStore" -configuration "DistributionAppStore" -sdk iphoneos2.1

前期工作为我带来了回报,因为我的构建无需任何额外思考就可以正常工作.如果有人感兴趣,我已经在我的博客上写了详细的描述.

The upfront work has paid off for me as my builds just work without any additional thought. I've written a detailed description on my blog if anyone is interested.

iPhone 应用程序分发变得简单

这篇关于Xcode 项目的持续集成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆