Description
I got this errors in xcode:
#import <GoogleSignIn/GIDSignIn.h>
@interface GoogleSignInHandler
: NSObject <GIDSignInDelegate, GIDSignInUIDelegate>
error
'Cannot find protocol declaration for 'GIDSignInUIDelegate'; did you mean 'GIDSignInDelegate'?'
2------
// Setup the Sign-In instance.
GIDSignIn *signIn = [GIDSignIn sharedInstance];
signIn.clientID = clientId;
signIn.uiDelegate = gsiHandler;
signIn.delegate = gsiHandler;
error:
'Property 'uiDelegate' not found on object of type 'GIDSignIn *'; did you mean 'delegate'?'
3--------
- Handle the auth URL
*/
-
(BOOL)GoogleSignInAppController:(UIApplication *)application
openURL:(NSURL *)url
sourceApplication:(NSString *)sourceApplication
annotation:(id)annotation {
BOOL handled = [self GoogleSignInAppController:application
openURL:url
sourceApplication:sourceApplication
annotation:annotation];return [[GIDSignIn sharedInstance] handleURL:url
sourceApplication:sourceApplication
annotation:annotation] ||
error:
'No visible @interface for 'GIDSignIn' declares the selector 'handleURL:sourceApplication:annotation:'
anybody knows what is the problem? have been all week trying to fix that... i want to cry :(