部署iPhone应用程序时更改为llvm编译器
我发现了这个:
在现有 iPhone 项目上将编译器更改为 llvm-clang
但这没有帮助。
我仍然收到错误。将 BaseSDK 设置为 iPhoneSimulator 3.1 似乎可行。但我认为这不是正确的做法...
I found this:
Changing Compiler to llvm-clang on existing iPhone Project
But that does not help.
I am still getting the error. Setting the BaseSDK to the iPhoneSimulator 3.1 seems to work. But I don't think this is the right thing to do...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您阅读该问题的答案和评论,您会发现还没有针对 iPhone 设备的 LLVM 版本。您可以使用 LLVM GCC 来定位 iPhone 模拟器,只需进行一些调整,因为它是在 Mac 上运行的。尽管 LLVM 可以针对 ARM 平台,但 Apple 表示尚未准备好用于部署到 iPhone。
If you read the answer and comments on that question, you'll see that there is not yet a version of LLVM that will target the iPhone device. You can target the iPhone Simulator using LLVM GCC, with some fiddling, because that is running on a Mac. Even though LLVM can target the ARM platform, Apple has indicated that it's not yet ready for use in deploying to the iPhone.