部署iPhone应用程序时更改为llvm编译器

发布于 2024-08-06 18:08:53 字数 261 浏览 5 评论 0原文

我发现了这个:

在现有 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 技术交流群。

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

发布评论

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

评论(1

柳絮泡泡 2024-08-13 18:08:53

如果您阅读该问题的答案和评论,您会发现还没有针对 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.

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