Georgiana Georgiana - 1 year ago 81
Objective-C Question

Parse and facebook sdk -duplicate symbol

I have parse, facebook, bolts frameworks in my project but I get this error and I don't know how to solve it.

I tried to remove framworks and add them again.

I'm using xcode 6 and parse library 1.6.

duplicate symbol _OBJC_METACLASS_$_BFMeasurementEvent in:
/Users/home/Desktop/The Live TV V2/FacebookSDK.framework/FacebookSDK(BFMeasurementEvent.o)
/Users/home/Desktop/The Live TV V2/Bolts.framework/Bolts(BFMeasurementEvent.o)
ld: 91 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation

Any idea?

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download