Can't add framework (invalid architecture)
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.
精彩评论