Objective-C 的构建和依赖工具,例如 ant+ivy / maven?
我正在为 Objective-C 寻找一个好的构建和依赖工具,例如用于构建的 ant 和用于依赖项的 ivy。
我知道 xcode 有一些 Maven 插件:
https://github.com/jendave/maven-xcodebuild-plugin
但我正在寻找社区对推荐内容的阅读。实际上我根本没有看到这方面的太多资源。
然而,有很多使用 Hudson 与 obj c 项目持续集成的链接,例如:
http://nachbaur.com/blog/how-to-automate-your-iphone-app-builds-with-hudson
我正在寻找有关构建方面的更多方向。
I'm looking for a good build and dependency tool for objective-c such as ant for build and ivy for dependencies.
I'm aware there are a few maven plugins for xcode :
https://github.com/jendave/maven-xcodebuild-plugin
But I'm looking for the community's read on what's recommended. I don't actually see many resources on this front at all.
There are however lots of links to using Hudson for continuous integration with obj c projects such as :
http://nachbaur.com/blog/how-to-automate-your-iphone-app-builds-with-hudson
I'm looking for more direction on the build side of things.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
对于依赖项,您可以使用 CocoaPods。 Xcode 附带了一个名为 xcodebuild 的(命令行)工具。可以通过从命令行运行
man xcodebuild
来找到这些文档。我不知道有什么可以整合这两者,但我可能是错的。您可以编写一个脚本来组合它们,然后从 Hudson 调用该脚本。 Hudson 的问题是它必须在 Mac 上运行,以便它可以访问标头和命令行工具。For dependencies, you could use CocoaPods. There is a (command line) tool that ships with Xcode called
xcodebuild
. The docs can be found by runningman xcodebuild
from the command line. I don't know of anything that integrates those two, but I could be wrong. You could write a script to combine them, and then call that script from Hudson. The problem with Hudson is that is has to be running on a Mac so it has access to the headers and command line tools.