None of the following threads (and many similar) helped me:
Include of non-modular header inside framework module
XCode6: Receiving error "Include of non-modular header inside framework module"
While trying to install the Facebook SDK in my iOS project via cocoapods, I ran into that error:
Inside the FBSDKCoreKit.h
header:
Include of non-modular header inside framework module 'FBSDKCoreKit.FBSDKCoreKit'
As I said, I tried the solutions proposed in the answers above without any success.
It's important to mention that this use to work fine on Xcode 7.