【发布时间】:2012-01-30 10:57:43
【问题描述】:
我从xcodebuild(iOS 5.0 SDK - Apple LLVM 3.0)随机收到以下错误:
clang: error: cannot specify -o when generating multiple output files
Verify exit code of build task 'CompileC SomeViewController.m'
Build task failed without generating error messages.
在下一次尝试时它工作正常,然后随机错误再次发生。
我在持续集成系统上使用xcodebuild,所以每次发生这种情况时,构建都会变红:(
有什么想法吗?
【问题讨论】:
-
您是否每次都在您的持续集成系统上进行干净的构建?发生这种情况时,您能否在日志中包含更多输出?
-
是的,每次构建都干净。没有更多与此错误有关的输出。 :(
-
这将有助于查看构建系统正在运行的编译命令,以找出额外的 -o 来自何处。这就是我正在寻找的输出。
标签: ios xcode llvm clang xcodebuild