Hi,
I need to log in with Google Sign-In for iOS. My App is both in Obj-C and Swift. The login viewcontroller is in Swift, but the AppDelegate is in Obj-C. I followed the guide of Google:
I have imported the library manually (no cocoapods for reasons of project) and I have included:
GoogleSignIn/GoogleSignIn.h
Both in the prefix.pch file for Obj-C and the file of Bridging for Swift. Then, I set -ObjC in Other Link Flags, as indicated in the the guide of Google. Now, in my viewcontrolle Login, I see this error:
If, I include this code:
@IBAction func gotoGooglePlus(_ sender: AnyObject) {
GIDSignIn.sharedInstance().delegate = self as! GIDSignInDelegate
}
Why?