FacebookSDK/FacebookSDK.h file not found

If you’re messing about with the Facebook SDK (version 3.12 as of my writing) for iOS and you’re getting “FacebookSDK/FacebookSDK.h file not found” error while building, you may need to re-add the framework.

  1. Build Phases
  2. Link Binary With Libraries
  3. Here FacebookSDK.framework is already added but click on + symbol to re-add it
  4. Add other
  5. If you didn’t change the install path when you installed the pkg file, it should be located in ~/Documents/FacebookSDK
  6. Build and run again