Facebook SDK with iOS 6

Update: Facebook already release for iOS 6 (Xcode 4.5)

Today , iOS 6 release and I updated my phone. However, I couldn’t run the project that is using facebook iOS SDK. I found , new Xcode 4.5 have include armv7s Architectures. However, facebook iOS SDK didn’t include this Architectures. So, we need to built our self.

Download facebook source code from https://github.com/facebook/facebook-ios-sdk .

Open the project ( src/facebook-ios-sdk.xcodeproj ) after downloading the facebook ios sdk.

Change the project setting (Architectures , Base SDK) and then save it and close it.

To compile the source , open the terminal.

Go to scripts folder of facebook ios sdk.


sudo ./build_all.sh
You will get the new FacebookSDK.framework at build folder after building is completed.

comments powered byDisqus