【问题标题】:How to add ARC enable .a files to non-ARC project in xcode如何在 xcode 中将启用 ARC 的 .a 文件添加到非 ARC 项目
【发布时间】:2013-06-14 04:32:05
【问题描述】:

如何在 xcode 中将启用 ARC 的 .a 文件添加到非 ARC 项目。因为我尝试将 Spotify 库(启用 ARC .a 文件)添加到我当前的非 ARC 项目中。 提供你的帮助。 谢谢

【问题讨论】:

  • 它应该可以工作。当你尝试时会发生什么?

标签: ios xcode automatic-ref-counting


【解决方案1】:

它应该可以工作 Check you are using the newest Apple compiler with this non-ARC project 而不是 GCC。

并检查此链接以获取详细信息。 mixing-arc-and-non-arc-code-with-static-libraries

希望对你有帮助。

【讨论】:

  • 您提供的链接已关闭。请修复它
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2012-01-31
  • 1970-01-01
  • 1970-01-01
  • 2012-02-19
  • 1970-01-01
  • 2012-09-05
相关资源
最近更新 更多