构建Xcode项目的命令行工具xcodebuild在Xcode 4中提供了新的构建操作:archive
。使用Xcode的命令行构建工具存档(xcodebuild存档)
从man xcodebuild
:
archive Archive a scheme from the build root (SYMROOT). This requires specifying
a workspace and scheme.
不幸的是,当我尝试使用它,我得到一个错误:
$ xcodebuild archive -workspace SimpleTestApp.xcworkspace -scheme SimpleTestApp
xcodebuild: error: Failed to build workspace SimpleTestApp with scheme SimpleTestApp.
Reason: The selected run destination is not valid for this action.
我的印象是,这并不实际工作呢。有没有人得到它的工作?如果是这样,怎么样?
任何人知道如何启动xcodebuild联编归档 – 2011-04-07 16:45:33
是的,我称它针对一个工作区没有一个项目 – 2011-04-11 17:26:08
您能够建立从细在xcode中? – ljkyser 2011-04-27 20:14:58