本文介绍了学习和理解在X code构建系统的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我很好奇与X code中的构建过程。设置多个目标,如何自动版本和一般理解系统,所以我可以操纵它做我想做的。

Alright, I'm curious about the build process with Xcode. Setting up multiple Targets, how to automate versioning and generally understanding the system so I can manipulate it to do what I want.

有没有人有任何书籍或可以点我一些文件的地方,这样我可以计算这一切呢?

Does anyone have any books or can point me to some documentation somewhere so that I can figure all of this out?

由于一吨。

另一件事,如果有人真的看到这一点,因为改变它。

Another thing, if anyone actually sees this since changing it.

但是,任何书籍人是知道的,这将专注于X $ C $的C 4?有偷跑X $ C $的C 3,但如果有大量专注于X code以外的任意书我很好奇真正4.

But any books anyone is aware of that will focus on Xcode 4? There's Xcode 3 Unleashed but I'd be real curious if there are any books that focus heavily on Xcode 4.

推荐答案

有一件事情是一致的,可重复的真正本质,自动化的构建是 X codebuild知识命令。可悲的是我找不到它的任何官方的文档除了手册页(键入人X codebuild )。有一个有用的指导自动化iphone在这里建立,包括建造与 X codebuild 和版本与 agvtool 。这只是Mac应用程序的一般建筑同样重要。

One thing that is really essential for consistent, reproducible, automatable builds is knowledge of the xcodebuild command. Sadly I can't find any official docs on it apart from the manpage (type man xcodebuild). There's a useful guide to automating iphone builds here that includes building with xcodebuild and versioning with agvtool. This is just as relevant to general building of Mac apps.

一般用X codebuild建设是很简单的:

Generally building with xcodebuild is very simple:

cd project_dir
xcodebuild -project myproject.xcodeproj -configuration Release ARCHS="x86_64 i386" build

一旦你可以从这样的脚本是很容易换入自动构建系统的建立。

Once you can build from a script like this it's very easy to slot into an automated build system.

这篇关于学习和理解在X code构建系统的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-12 05:56