Search Unity

Unity 2019.2 , FacebookSDK and IOS xcode build error: FBSDKShareKit/FBSDKShareKit.h file not found

Discussion in 'iOS and tvOS' started by vadim-ingvarcompany, Aug 24, 2019.

  1. vadim-ingvarcompany

    vadim-ingvarcompany

    Joined:
    Mar 9, 2018
    Posts:
    1
    Xcode version: 10.3
    Facebook SDK version: 7.17.2

    Recently i updated Unity Facebook SDK to version 7.17.2. Now i can no longer build and publish my project.
    The issue is when i build project in xcode, i got this error:
    'FBSDKShareKit/FBSDKShareKit.h' file not found

    I read questions regarding similar problem, like this thread: https://github.com/facebook/react-native-fbsdk/issues/475
    The solution proposed is to edit framework search paths and add path to facebook sdk.
    But it does not working for me.

    Here is the screenshot of xcode project structure and code with error: https://imgur.com/a/rQSUaEl
     
  2. StefanoCecere

    StefanoCecere

    Joined:
    Jun 10, 2011
    Posts:
    160
    same problem :(
     
  3. StefanoCecere

    StefanoCecere

    Joined:
    Jun 10, 2011
    Posts:
    160
    uhm.. i think i solved that error by resetting the iOS PlayServices resolver settings to default
    now i got a new error (doesn't find libraries.. but at a later stage of compilation
     
  4. StefanoCecere

    StefanoCecere

    Joined:
    Jun 10, 2011
    Posts:
    160
    i fixed going back to FB SDK 7.16.1 (the last version that doesn't used Pods/Maven to download the libraries)
     
  5. Nazeer-Ahmad

    Nazeer-Ahmad

    Joined:
    Sep 25, 2017
    Posts:
    2
    getting the same error any body have fixed it, i cannot roll back to any previous version
     
  6. caolam

    caolam

    Joined:
    Nov 12, 2018
    Posts:
    2
    buzz, i am getting the same error, any progress?
     
  7. Rafael-cmk

    Rafael-cmk

    Joined:
    Jun 28, 2016
    Posts:
    45
    Same problem here, I am completely lost on what to do.