Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Add FacebookSDK iOS?

I am facing the issue posted in this Parse for iOS: Errors when trying to run the app and the solution mentioned is to add FacebookSDK.framework to the Xcode project and this should resolve the issue. After installing Facebook SDK for IOS pkg.

But I cannot find FacebookSDK.framework file in Documents/FacebookSDK dir.

Can any one please guide me in this?

Note: Using Xcode 6.2 and iOS 8 (latest)

update 1

I have the following frameworks in settings

enter image description here

And the Documents/FacebookSDK looks like below. Which lib is to be included in Xcode? and how?

enter image description here

like image 802
Incpetor Avatar asked Dec 07 '25 07:12

Incpetor


1 Answers

If you've downloaded the latest Facebook SDK version (> v4), the framework has been splitted into several kit. Instead of FacebookSDK.framework, include the FBSDKCoreKit and FBSDKLoginKit frameworks at least.

like image 77
applequist Avatar answered Dec 08 '25 19:12

applequist