Build error in FBSDKLoginButton.m file after updating FacebookLogin Cocoapods

51 views Asked by At

I just updated my FacebookCore and FacebookLogin Cocoapods, am using XCode 9.4.1, and Swift 4.1, and I'm now getting a build error in my FBSDKLoginButton.m file.

enter image description here

I tried updating and installing all pods again, without any dependency issues. But I just can't get my project to build anymore. Any leads would be greatly appreciated. Thanks!

1

There are 1 answers

0
robinyapockets On

OK, I don't know why, but declaring the version explicitly after the pod name helped fix it like this:

pod 'FBSDKCoreKit', '~> 4.35.0'

If someone can tell me why, I'd love to know.