FBSDKCorekit.h, FBSDKCopying.h file note found using Cocoapods

There seems to be some bug in cocoapods 1.0.0 Beta versions. Falling back to v0.39.0 fixes the error. You might need to remove cocoapods latest beta you have that installed, this question should help.


Happened with me after update to cocoapods 1.0.0.beta.6

Next helped to me:

  • Xcode -> Product -> Clean
  • Xcode -> Product -> ⌥ + Clean
  • close Xcode
  • rm -rf ~/Library/Developer/Xcode/DerivedData
  • open Xcode and build (was no need to reinstall pods)

You don't need to fallback to v0.39.0.

I have currently the following versions:

1. cocoapods-0.38.2
2. cocoapods-0.39.0
3. cocoapods-1.0.0.beta.2
4. cocoapods-1.0.0.beta.3

For me this issue appeared only in beta.5.

So if you want 1.0 go for beta.3.