Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IOS5 and facebook api

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

like image 702
user1089187 Avatar asked Dec 28 '22 09:12

user1089187


2 Answers

There is no specific version of Facebook-ios-sdk for the latest IOS 5 beta. Typically its good enough to download latest version of Facebook IOS SDK from Git. Complete reference to integrate Facebook sdk to your app is here. You can also walkthrough the Hackbook example.

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

I hope this helps you.

like image 168
Splendid Avatar answered Jan 15 '23 05:01

Splendid


There is no version for iOS5 now. But you might want to use some new feature like ARC support.

But Facebook SDK was made by iOS4 and there is no ARC support. So you can do like this..

Just to add "-fno-objc-arc"(without double quotation marks) to the compiler flags for the files you don't want ARC. You can do this under your target -> Build Phases -> Compile Sources.

like image 39
Kuo Jimmy Avatar answered Jan 15 '23 05:01

Kuo Jimmy