命令行编译 iPhone 应用程序
我想找到一种方法来编译和打包我们的 iPhone 应用程序,作为我们自动夜间构建的一部分。目前,我们总是必须在共享 Mac 上手动启动构建,该 Mac 上安装了临时证书,然后将生成的测试二进制文件发布到测试人员可以下载并安装的地方。
有没有人找到适合他们的自动化方法?
I would like to find a way to compile and package our iPhone application as part of our automated nightly build. At present we always have to manually kick off a build on a shared Mac that has the adhoc certificates installed on the box and then post the resulting test binaries some place where testers can pull them down and install them.
Has anyone found an approach to automation that works for them?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
有一个命令行工具可以构建 Xcode 项目:
xcodebuild
There's a command line tool to build Xcode projects:
xcodebuild
尝试使用 xcodebuild,它将从命令行构建 Xcode 项目。然后,您可以将二进制文件从构建目录中拉出。
Try using xcodebuild, it'll build an Xcode project from the command line. You can then pull the binaries out of the build directory.
我写了一个 XCodeBuilder (它调用xcodebuild) 适用于 CruiseControl,现已成为标准版本的一部分。我们在应用程序商店中现在的一个应用程序上使用了它,它非常棒。每次提交后,带有临时签名的应用程序版本就可供团队其他成员下载和测试。
I wrote an XCodeBuilder (it calls xcodebuild) for CruiseControl that is now part of the standard release. We used this on an app that is now in the app store and it was great. After every commit a version of the app w/the ad-hoc signature was ready for download and testing by the rest of the team.