Kevin_TA
Kevin_TA

Reputation: 4685

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:

enter image description here

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.

Upvotes: 0

Views: 679

Answers (2)

Vishal
Vishal

Reputation: 8256

In architectures also add armv7s along-with armv7 & then build your project.Hope this helps you.here I attach image also add like this image

Upvotes: 0

Kevin_TA
Kevin_TA

Reputation: 4685

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.

Upvotes: 1

Related Questions