0

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.

Kevin_TA
  • 4,575
  • 13
  • 48
  • 77

2 Answers2

1

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.

Kevin_TA
  • 4,575
  • 13
  • 48
  • 77
0

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

Vishal
  • 8,246
  • 6
  • 37
  • 52