Search code examples
iosinterface-builderfacebook-ios-sdk

Unknown class FBSDKProfilePictureView in Interface Builder file


When trying to add a view into Main.storyboard and giving it any FBSDK... class like: FBSDKProfilePictureView from the dropdown list.

I'm receiving an error when running the project: Unknown class FBSDKProfilePictureView in Interface Builder file.

This is happening in both Swift and Obj-C applications after having no issues adding the framework (4.0.1 version) and implementing login.


Solution

  • I found a way to solve if I'm adding an outlet for the desired view than i'm not getting the error anymore and everything seems good.