xamarin / GoogleApisForiOSComponents

MIT License
225 stars 162 forks source link

xamarin.google.ios.signin throwing NSInvalidArgumentException Reason #513

Closed hulluP closed 1 year ago

hulluP commented 2 years ago

Description

I followed the sample code to set up a sign in with Google using the nuget Xamarin.Google.iOS.SignIn. I also set up my own firebase config following the guide from firebase https://firebase.google.com/docs/auth/ios/google-signin?authuser=0 Trying to trigger a sign in with google on ios device and simulator generates several logs see below but no actual login.

Steps to Reproduce

Pull https://github.com/hulluP/googleLogin
run on iOS device or simulator
click on "sign in" button

Expected Behavior

should launch OAuth authentication flow with google

Actual Behavior

generates the following logs but nothing else happens: Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[NSTaggedPointerString countByEnumeratingWithState:objects:count:]: unrecognized selector sent to instance 0xfa8069481260e52e

Basic Information MvvmCross 8.0.2 Xamarin.Forms 5.0.0.21 Xamarin.Google.iOS.SignIn 5.0.2.1