Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not build module 'FBSDKCoreKit' For FacebookSDK 4

I am having issue while updating Facebook SDK 3 to 4

when I add the framework it was added successfully. but when i add header file it's having the error that " Could not build module 'FBSDKCoreKit' ". Don't know the reason.

Error Could not build module 'FBSDKCoreKit'

like image 444
Premal Khetani Avatar asked Apr 06 '15 06:04

Premal Khetani


2 Answers

In setting the "Allow Non-modular Includes in Framework modules" setting to YES in Build settings solved the problem for me. but don't know if is there any problem or issue or any side effects of it.

Its Facebook Bug you can check the solution they are providing in this link.

Update 1

Facebook said that they have fixed and will apply solution in next update see this link

Update 2

FaceBook Fixed It in Version Latest version (i.e. 4.1.0) see this link link.

like image 59
Premal Khetani Avatar answered Oct 15 '22 08:10

Premal Khetani


i have also facing same issue and i got solution. Nothing do just Remove the Module folder in. Follow simple step

step 1. go to Document/FacebookSDK folder

step 2. Go inside FBSDKCoreKit.framework folder & remove Modules folder. then drag and drop in your Xcode Project.

Resolve your issue. Enjoy .... !!!

like image 25
Raj Chavda Avatar answered Oct 15 '22 07:10

Raj Chavda