简体   繁体   中英

iOS - Facebook SDK 3.1.1 Build Fail armv7

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.

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