duplicate symbols for architecture x86_64 (Implementing FBSDKCoreKilt) Swift

前端 未结 4 1874
名媛妹妹
名媛妹妹 2021-01-17 13:29

This is the most horrifying error that I\'ve dealt with so far. To be clear:

  1. This is in swift so it\'s not a \".h\" \".m\" issue
  2. My compile sources i
相关标签:
4条回答
  • 2021-01-17 14:03

    I solved by removing manually imported FBSDK dependencies (from Link Binary with libraries) and adding following lines to pod file:

      pod 'FBSDKCoreKit'
      pod 'FBSDKLoginKit'
      pod 'FBSDKShareKit'
    
    0 讨论(0)
  • 2021-01-17 14:08

    Its an issue with the latest Facebook SDK (Sept 10th 2015). Download the release before it.

    See this answer https://stackoverflow.com/a/32519847/1052084 which worked for me.

    0 讨论(0)
  • 2021-01-17 14:09

    thanks this working with me when using facebook SDK https://developers.facebook.com/resources/FacebookSDKs-iOS-20150813.zip

    0 讨论(0)
  • 2021-01-17 14:30

    This can also be caused by any included static libraries or sub-projects that are included with your project, having a different target version ie. you have an externalSourcesLibrary project and it's build target is set to minimum version 6.0 while your main project is set to something higher like 8.4 or vice versa.

    0 讨论(0)
提交回复
热议问题