Can't add framework (invalid architecture)

297 Views Asked by At

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.

1

There are 1 best solutions below

4
On BEST ANSWER

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.