Search code examples
iosfacebookios6sharekit

FacebookSDK.h' file cannot be found


I am trying to link the Facebook to my project via Sharekit. I followed the steps on the install wiki but still face issues.

It gives me this error now:

'FacebookSDK.h' file cannot be found

Solution

  • As it is said on GitHub official page this should work:

    1. Re-installed SK (which may or may not have been actually necessary)
    2. cd to ShareKit directory
    3. git submodule sync
    4. git submodule update

    For me worked reverting to previous commit:

    git checkout -b beforeTargetCleanup 400df71204f48c3367982be2c1dc3158e2e23476
    

    Fixed in 52cb63ed784532d0913a264f4a93843b95737392 commit.