Search code examples
iosautomatic-ref-countingfbconnect

FBConnect and ARC on iOS5


I'm trying to integrate a like button in my iPhone application. Beyond the other issues, with respect to the FBConnect, I am also facing the incompatibility between FBConnect and ARC (91 build errors). Did anyone have tried to play with FBConnect on iOS 5?

Thank you in advance!


Solution

  • Just for answering my question..

    FB proposes to build the SDK as static library and import it to your project in that way (of course in case you are using ARC).

    % ~/facebook-ios-sdk/scripts/build_facebook_ios_sdk_static_lib.sh
    

    Thank you