无法添加框架(无效的架构)

发布于 2024-11-17 07:16:16 字数 313 浏览 10 评论 0原文

我正在尝试将 Skype 框架添加到我的 XCode 4 项目中。我只是将框架拖到我的框架文件夹中,然后导入,它给了我这个错误:

ld: warning: ignoring file /Users/****/Desktop/SkypeTest/Skype.framework/Skype, file was built for unsupported file format which is not the architecture being linked (x86_64)

如果我尝试使用它,它会给我错误。我做错了什么/错过了什么?谢谢。

I am trying to add Skype framework to my XCode 4 project. I simply dragged in the framework to my frameworks folder, then imported and it's giving me this error:

ld: warning: ignoring file /Users/****/Desktop/SkypeTest/Skype.framework/Skype, file was built for unsupported file format which is not the architecture being linked (x86_64)

If I try to use it, it gives me error. What am I doing wrong/missing? Thanks.

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

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

发布评论

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

评论(1

浅笑轻吟梦一曲 2024-11-24 07:16:16

我从未尝试过使用 Skype.framework,但给出错误消息,似乎您正在为架构 x86_64 构建应用程序(因此是 64 位应用程序),并且该消息告诉您这与 Skype 框架不兼容,该框架具有采用不同的架构构建。

Skype.framework 可能还不兼容 64 位。在 Skype 发布其框架的 64 位版本之前,您应该尝试构建 32 位应用程序。

I never tried using the Skype.framework, but giving the error message, it seems that you are building an application for architecture x86_64 (thus a 64-bits app) and the message tells you that this is not compatible with the Skype framework which has been built with a different architecture.

It is likely that the Skype.framework is not compatible with 64-bits yet. You should try building a 32-bits app until Skype releases a 64-bits version of its framework.

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