The question is answered, right answer was accepted
iOS Facebook Build Apple Mach-O Linker Error
Hey everyone,
I'm trying to submit a facebook sim build so that it can be approved. We recently updated our Facebook SDK to the newest one, and it looks like there's just duplicates somewhere, but i'm terrible at reading through the error logs on xcode. If someone could give me a hand, that would be great.
duplicate symbol _llvm.cmdline in:
/Users/tfurness/Desktop/builds/rocky126/Frameworks/Plugins/iOS/Facebook/FBSDKShareKit.framework/FBSDKShareKit(FBSDKSendButton.o)
/Users/tfurness/Desktop/builds/rocky126/Frameworks/Plugins/iOS/Facebook/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKServerConfiguration.o)
duplicate symbol _llvm.embedded.module in:
/Users/tfurness/Desktop/builds/rocky126/Frameworks/Plugins/iOS/Facebook/FBSDKShareKit.framework/FBSDKShareKit(FBSDKSendButton.o)
/Users/tfurness/Desktop/builds/rocky126/Frameworks/Plugins/iOS/Facebook/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKServerConfiguration.o)
duplicate symbol _llvm.cmdline in:
/Users/tfurness/Desktop/builds/rocky126/Frameworks/Plugins/iOS/Facebook/FBSDKShareKit.f
ramework/FBSDKShareKit(FBSDKSendButton.o)
/Users/tfurness/Desktop/builds/rocky126/Frameworks/Plugins/iOS/Facebook/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKMaleSilhouetteIcon.o)
duplicate symbol _llvm.embedded.module in:
/Users/tfurness/Desktop/builds/rocky126/Frameworks/Plugins/iOS/Facebook/FBSDKShareKit.framework/FBSDKShareKit(FBSDKSendButton.o)
/Users/tfurness/Desktop/builds/rocky126/Frameworks/Plugins/iOS/Facebook/FBSDKCoreKit.framework/FBSDKCoreKit(FBSDKMaleSilhouetteIcon.o)
ld: 260 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I shortened it a little as it was kind of long. Any help would be greatley appreciated.
Answer by rahulohri · Oct 13, 2015 at 04:19 AM
Did you try Xcode 7 ?
I meant to respond to my question on Friday but forgot, it turns out it was totally Xcode 7! Our studio wasn't upgrading to 7 yet, so I hadn't thought of trying it on 7. But we updated one of our machines to test our build on it so I figured I would test making it on that too, and turns out yeah it was that!
Follow this Question
Related Questions
Apple Mach-O Linker (ld) Error Group - Xcode 0 Answers
Xcode build error .. 0 Answers
Undefined symbols for architecture arm64 0 Answers
EXC_Bad_Access Thread CreateMaterial () 2 Answers