I installed the new cocoapods version 1.0.2 today (it was 0.39 before) and since then the compilation of FBSDKCoreKit fails with the following error:
'FBSDKCoreKit/FBSDKCopying.h' file not found Could not build Objective-C module 'FBSDKCoreKit'
The line where it happens is the following:
#import <FBSDKCoreKit/FBSDKCopying.h>
I am using Swift and cleaning and building again does not work as well as running pod install again. If I look inside the FBSDKCoreKit folder, there is actually a FBSDKCopying.h file.
Is this error cocoapods related or FBSDK related? Do you know how to fix this error?
Try to close Xcode and then in the project folder delete Build and Pods folders and the .xcworkspace file.
Then run pod install from Terminal to recreate the workspace.
This fix the issue for me.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With