Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook iOS SDK gives "is not a dylib" warning

After the last update of xcode 7.3 i am having

ld: warning: Auto-Linking supplied `'/Users/utkudalmaz/Developer/Frameworks/FacebookSDK/Bolts.framework/Bolts', framework linker option at /Users/utkudalmaz/Developer/Frameworks/FacebookSDK/Bolts.framework/Bolts is not a dylib`

warning. Anyone knows how to fix it ?

like image 301
Utku Dalmaz Avatar asked Mar 27 '16 11:03

Utku Dalmaz


1 Answers

I don't have the reputation to close as duplicate, so the answer is:

FBSDKCoreKit references Bolts but you probably haven't added Bolts explicitly to your Xcode project.

To remedy this, dragging Bolts.framework into Xcode next to FBSDKCoreKit.framework will fix the warning.

As seen in this older question: Facebook sdk is not a dylib error after update update Xcode 7?

like image 73
HeroOfSpielburg Avatar answered Oct 18 '22 15:10

HeroOfSpielburg