我随机从 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,因此每次发生这种情况时,构建都会变红:(
有什么想法吗?
最佳答案
带有 LLVM 3.1 编译器的 Xcode 4.3.1 更新解决了我的问题。
关于iOS SDK(xcodebuild): Clang error cannot specify -o when generating multiple output files,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9062776/