Search code examples
iosarmv6facebook-ios-sdk

Facebook iOS SDK only compiling for armv7


I'm trying to use the facebook-ios-sdk in an iPhone application. I followed the setup instructions and it works perfectly on the simulator, but I cannot get it to run on my actual device. I am using Xcode 4.3 and my deployment target is 3.1 (with ARC).

When I try to run the application on the device, it complains that it cannot link the facebook-ios-sdk since the statically linked library (as per suggestion when using ARC) does not support armv6? According to the facebook-ios-sdk page it does however support it.

Is there a different way to compile the linked lib than described on the facebook-ios-sdk page to include armv6?


Solution

  • In addition to what rogchap mentioned, is the value of Valid Architectures "armv6 armv7" in the Build Settings for your facebook-ios-sdk project?

    And just to be sure, my Architectures setting reads as follows without the quotes:

    "armv6 $(ARCHS_STANDARD_32_BIT)"