iOS SDK(xcodebuild):生成多个输出文件时,Clang错误无法指定-o

发布于 2025-01-01 09:10:29 字数 379 浏览 4 评论 0原文

我随机从 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,所以每次发生这种情况时,构建都会变红:(

有什么想法吗?

Randomly im getting the following error from 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.

On the next try it works fine, and than randomly the error happens again.
Im using xcodebuild on an continuous integration system, so every time this happens the build goes red :(

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

寻梦旅人 2025-01-08 09:10:29

使用 LLVM 3.1 编译器的 Xcode 4.3.1 更新解决了我的问题。

The Xcode 4.3.1 update with the LLVM 3.1 compiler solved the problem for me.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文