F8app: errors during building ios

Created on 27 May 2016  路  7Comments  路  Source: fbsamples/f8app

/Users/TonyKaku/Sites/f8app/ios/Pods/FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKLikeButton.m:206:75: error: no known class method for selector 'viewControllerforView:' fromViewController:[FBSDKInternalUtility viewControllerforView:self]]; ^~~~~~~~~~~~~~~~~~~~~ /Users/TonyKaku/Sites/f8app/ios/Pods/FBSDKShareKit/FBSDKShareKit/FBSDKShareKit/FBSDKLikeButton.m:213:75: error: no known class method for selector 'viewControllerforView:' fromViewController:[FBSDKInternalUtility viewControllerforView:self]]; ^~~~~~~~~~~~~~~~~~~~~ 2 errors generated.

Most helpful comment

Try pod update

All 7 comments

same for me... can't figure it out the issue.
It all happens in FBSDKLoginKit in FBSDKLoginButton.m

Try pod update

did the trick. thanks!

pod update doesn't work for me T_T

+1

You could change the name of the function to "viewControllerForView".

In version 4.16.1, "viewControllerForView" -> "viewControllerforView".

Was this page helpful?
0 / 5 - 0 ratings