I followed the exact steps provided: https://developers.facebook.com/docs/swift/getting-started to use the SDK using Cocoapods .
Then I added the following code to create a log line:
import FacebookLogin func viewDidLoad() { let loginButton = LoginButton(readPermissions: [ .PublicProfile ]) loginButton.center = view.center view.addSubview(loginButton) }
However, I keep getting the following error:
There is no such module "FacebookLogin"
My related structures and libraries are related to Pods_Swipe.framework.
thanks
source share