I am about to integrate the Facebook SDK solely (at least for now) for the purpose of having mobile ads for my app shown in the Facebook app. I downloaded the latest SDK v3.1.1 and added the framework to the project. It does not build however and gives me this error:
I find it hard to believe that this framework was not compiled for armv7. Has anyone else had this error with the FacebookSDK? I am using iOS6 as my base SDK.
Thanks.
Turns out you have to add a lot more than just the framework to your project. Once I followed this guide, it worked.
http://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/3.1/
Go to section 5 - Configure a New Xcode Project.
In architectures also add armv7s along-with armv7 & then build your project.Hope this helps you.
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.