0

I am getting multiple (116) duplicate symbols when using Facebook's Audience Network SDK for iOS along the lines of:

duplicate symbol _llvm.cmdline in: /Users/myapp/FBAudienceNetwork.framework/FBAudienceNetwork(FBInterstitialAd.o) /Users/myapp/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o)

duplicate symbol _llvm.embedded.module in: /Users/myapp/FBAudienceNetwork.framework/FBAudienceNetwork(FBInterstitialAd.o) /Users/myapp/FBAudienceNetwork.framework/FBAudienceNetwork(FBAdCommandProcessor.o)

Any suggestions as to where I could begin to rectify the problem?

  • 1
    Has the framework been added twice by accident? – chedabob Oct 06 '15 at 20:45
  • I have removed and added it, so possibly? Is there a definitive way to tell other than looking at the frameworks in Xcode? –  Oct 06 '15 at 20:48
  • Check it's not duplicated in either of these two sections: http://mindfusion.eu/_samples/diagram_setting1.png If it's an embedded binary, it should be present in both of the sections – chedabob Oct 06 '15 at 20:51
  • Nothing in embedded binaries, and no duplicate. –  Oct 06 '15 at 20:53
  • Are you using Xcode 6? This answer suggests it might be they've released an Xcode 7 only framework: http://stackoverflow.com/a/32589186/78496 – chedabob Oct 06 '15 at 20:57
  • I am using 6. I will look into either an older SDK, or updating Xcode. –  Oct 06 '15 at 21:00
  • I switched to the previous SDK and all is good! Thank you chedabob! –  Oct 06 '15 at 21:12

1 Answers1

1

See Guan Chuan's ans in this link

Try, FacebookSDKs-iOS-20150813.zip facebook sdk instead of FacebookSDKs-iOS-20150910.zip

Community
  • 1
  • 1
utkal patel
  • 1,321
  • 1
  • 15
  • 24