Continuous Integration for Xcode projects?(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 项目的持续集成?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:Xcode 项目的持续集成?
基础教程推荐
- 如何让对象对 Cocos2D 中的触摸做出反应? 2022-01-01
- 如何在没有IB的情况下将2个按钮添加到右侧的UINavigationbar? 2022-01-01
- 当从同一个组件调用时,两个 IBAction 触发的顺序是什么? 2022-01-01
- UIWebView 委托方法 shouldStartLoadWithRequest:在 WKWebView 中等效? 2022-01-01
- 如何在 iPhone 上显示来自 API 的 HTML 文本? 2022-01-01
- 如何在 UIImageView 中异步加载图像? 2022-01-01
- android 应用程序已发布,但在 google play 中找不到 2022-01-01
- Android:对话框关闭而不调用关闭 2022-01-01
- 在 gmail 中为 ios 应用程序检索朋友的朋友 2022-01-01
- Kivy Buildozer 无法构建 apk,命令失败:./distribute.sh -m “kivy"d 2022-01-01