IOS5 and facebook api

I would like to integrate my application with Facebook and download Facebook-ios-sdk from github. However, sdk was for the Xcode 4.0 codebase - I am using Xcode 4.2 for the iOS 5 beta 5 application ... Is there a version of Facebook-ios-sdk for the latest beta version of iOS 5? If there is, how can I download this?

+4
source share
4 answers

There is no specific version of Facebook-ios-sdk for the latest beta version of iOS 5. It is usually good enough to download the latest version of iOS iOS SDK from Git . The full link to integrate Facebook sdk into your application here. You can also check out the Hackbook example.

https://developers.facebook.com/docs/mobile/ios/build/

Hope this helps you.

+4
source

Now there is no version for iOS5. But you can use some new feature like ARC support.

But the SDK for Facebook was made by iOS4, and there is no ARC support. So you can do it as follows.

Just add "-fno-objc-arc" (without double quotes) to the compiler flags for files you don't want ARC. You can do this for your purpose -> Phase assembly -> Compile sources.

+3
source

I have used this version of the SDK for my iOS 4 & 5 successfully.

Facebook sdk

+2
source

Source: https://habr.com/ru/post/1386161/


All Articles