Skip to content

Can't build in iOS but in android works #108

Open
@mavc18

Description

@mavc18

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 :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions