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.
- Build Phases
- Link Binary With Libraries
- Here FacebookSDK.framework is already added but click on + symbol to re-add it
- Add other
- If you didn’t change the install path when you installed the pkg file, it should be located in ~/Documents/FacebookSDK
- Build and run again