Why am I getting an error regarding Bolts framework and FacebookSDK when I'm not even using Bolts?
- Open the project in Xcode.
- Go to where you extracted the FacebookSDK. If you're using Mac OSX,
it should be available inDocuments/FacebookSDK
. - Grab the
Bolts.framework
file and drop into your Frameworks folder in
Xcode for your project.
It should build now.
Facebook sdk and Bolts framework (duplicate symbols)
Facebook v4.8 SDK does not have facebooksdk.framework.
If you are using the latest version of Parse then,i would recommend using the latest version of facebook sdk too.
Follow this links for making sure that you are integrating it properly.
Facebook getting started
Parse FB integration
For basic login and graph api request from Facebook and linking it to Parse.You need to include FBSDKCoreKit.framework,FBSDKLoginKit.framework,FBSDKShareKit.framework,Parse.framework
I hope that,it helps!
FacebookSDK and Bolts conflicting each other (duplicate symbols) on build
Had the same issue.
- Removing the Bolts.framework was NOT a solution since I get the errors that Leo Flaherty mentioned (comment in the accepted answer).
- Using the solution mentioned by iOS_DEV seems like an ugly hack to me.
- Using the latest Parse and Facebook SDKs was also NOT a solution (mentioned by Simon Bøgh) since I was using the version 3.x of the Facebook SDK and the latest is 4.x.
The Facebook SDK Change log mentions: The Facebook SDK for iOS v4.0 is a major version upgrade.
Since I needed to meet a deadline, I couldn't dedicate time on re-writing all my Facebook code, to fit with the new 4.x SDK version.
Solution that I propose:
Instead of adding the Bolts.framework and FacebookSDK.framework as framework to your project, add them as Pods:
pod 'Bolts'
pod 'Facebook-iOS-SDK', '3.23.1'
Find here all the Facebook SDK versions available, in case you need to use one which is not the latest.
In case you're using Swift, you need to add the following in your bridging header:#import <FacebookSDK/FacebookSDK.h>
#import <Bolts/Bolts.h>
Parse and facebook sdk -duplicate symbol
Using Facebook and Parse Framework at the same time will cause a multiple duplicate symbol. No idea why this happens also. Removing Bolts.framework
from Parse will resolve this issue.
Xcode 9 _OBJC_CLASS_$_FBSDKApplicationDelegate
Well, the solution was weird, basically, I removed the Drag and Drop to my Framework
group, and I added the FBSDKCoreKit
, FBSDKLoginKit
and Bolt
using the general settings adding them in Linked Frameworks and Libraries
Related Topics
Errortype' Is Not Convertible to 'Nserror'
Swift Core Data Sync with Web Server
Resize Inputaccessoryview Dynamically in iOS 8
How to Retrieve Image Stored in Firebase to Show It in View Image View
How to Send Msmessage in Messages Extension
How to Set Uitextview's Height Dynamically in Uitableviewcell Based on String Size
Xcode 6 Project Crashing After Segue on iOS 7.1
Struggling to Convert Objective C Selector and Target Signature to Swift
Show Two Different Custom Cells in Same Uitableview - Swift Firebase
Split String into Array of Arrays
Setting Custom Http Headers in Alamofire in iOS 7 Not Working
How to Automatically Create an Initializer for a Swift Class
Passing Data Between View Controllers Without Segue
iOS Swift No Such File or Directory in Debug-Iphoneos
Getting Uiwebview API Deprecation Message After Adding Paypal Pod in My iOS App