无法添加框架(无效的架构)
我正在尝试将 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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我从未尝试过使用 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.