开发者

Can't add framework (invalid architecture)

开发者 https://www.devze.com 2023-03-15 04:38 出处:网络
I am trying to add Skype framework to my XCode 4 project. I simply dragged in the framework to my frameworks folder, then importedand it\'s giving me this error:

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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号