简体   繁体   中英

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM