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 项目的持续集成?


- 用 Swift 实现 UITextFieldDelegate 2022-01-01
- 使用自定义动画时在 iOS9 上忽略 edgesForExtendedLayout 2022-01-01
- 在测试浓缩咖啡时,Android设备不会在屏幕上启动活动 2022-01-01
- Android - 拆分 Drawable 2022-01-01
- Android - 我如何找出用户有多少未读电子邮件? 2022-01-01
- android 4中的android RadioButton问题 2022-01-01
- 如何检查发送到 Android 应用程序的 Firebase 消息的传递状态? 2022-01-01
- Android viewpager检测滑动超出范围 2022-01-01
- MalformedJsonException:在第1行第1列路径中使用JsonReader.setLenient(True)接受格式错误的JSON 2022-01-01
- 想使用ViewPager,无法识别android.support.*? 2022-01-01