Updated FacobookLogin Pod, Got Error: No known class method for selector 'objectForJSONString:error:'
I had to change FBSDKBasicUtility to FBSDKInternalUtility. Xcode will prompt you to unlock the files to make the change.
I have also received a notification from Facebook to upgrade the Facebook SDK to 5.0.(Previously it was 4.39.0) Below is the link which shows the latest features of Facebook SDK :
https://developers.facebook.com/docs/app-events/upgrade-guide
If you want to use these then you have to update the SDK and at code level integrate new pods for Facebook as shown in the above link.
If you don't want to use these features then you have to restrict your pods to a specific version so in future pod update
the Facebook pods are not changed.
Hope this helps.
I did my R&D, there was no solution. I solved it by just removing the entire FacebookLogin Pods,
#pod 'FacebookCore'
#pod 'FacebookLogin'
Then Built the project, and then re-installed the same pods with the latest version to 5.0, then the issue seems to solved.