No such module 'FBSDKCoreKit' XCODE 7.4

sekaisan picture sekaisan · Aug 18, 2015 · Viewed 16.3k times · Source

I am trying to add the Facebook login feature using FBSDKCoreKit and FBSDKLogin. When I try to import these two framework to my AppDelegate file, it shows error which is

"No such module 'FBSDKCoreKit'".

I changed Allow Non-modular Includes In Framework Modules from NO to YES, but the error is still there.

I need help with coming up with a solution to resolve the error.

Answer

user3288414 picture user3288414 · Aug 24, 2015

I resolved this problem by adding FacebookSDK Directory path to the "Framework Search Paths"

Go to Build Settings and search for "framework search"