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

查看:165
本文介绍了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.

推荐答案

我成功使用Hudson在mac与xcodebuild。随着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 app distribution easy easy

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

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