How to implement Google SignIn in iOS app as now Google pod is deprecated?
Using the deprecated pod is giving : Framework not found GoogleAppUtilities
The pod install is indeed 'GoogleSignIn' . However this also means adjusting the bridging header to
#import <GoogleSignin/GoogleSignIn.h>
And instead of using :
GGLContext.sharedInstance().configureWithError(&configureError)
You need to use :
GIDSignIn.sharedInstance().clientID = kClientID
And replace kClientID with your client id (You can/need to remove some other lines also regarding the &configureError).
You can find the info here : Google Sign-In
The Pod install now follows the manually install method mentioned in the blue notes.
New pod location is:-
pod 'GoogleSignIn'
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With