react-native-google-signin / google-signin

Google Sign-in for your React Native applications
https://react-native-google-signin.github.io/
MIT License
3.12k stars 877 forks source link

no visible @interface for 'OIDAuthorizationResponse' declares the selector 'tokenExchangeRequestWithAdditionalParameters:' #1256

Closed davidcarboni closed 3 months ago

davidcarboni commented 3 months ago

Hi there, this is a long shot in case it's an easy fix.

I've just upgraded to expo 50.0.11 (with @react-native-google-signin/google-signin ^11.0.0) and am getting this error in EAS when I'm trying to run an iOS development build:

/Users/expo/workingdir/build/app/ios/Pods/GoogleSignIn/GoogleSignIn/Sources/GIDSignIn.m:733:9: error: no visible @interface for 'OIDAuthorizationResponse' declares the selector 'tokenExchangeRequestWithAdditionalParameters:'

        tokenExchangeRequestWithAdditionalParameters:additionalParameters];

        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated.

I'm wondering if an underlying API has changed and, if so this might possibly be straigtforward. Apologies, I don't have a reproducible example at this stage - I'm thinking I'd need to set up a new Expo project and EAS build (I'm on Linux so can't test the build build locally).

If it's not an obvious one, no worries, I'll see if I can get more information and maybe try to set up a reproducible example.

algera commented 3 months ago

dupe of https://github.com/react-native-google-signin/google-signin/issues/1255?

davidcarboni commented 3 months ago

I've just seen https://github.com/react-native-google-signin/google-signin/issues/1255 has been creatied while I was looking into this. Feel free to close this as duplicate if that makes sense.

davidcarboni commented 3 months ago

Seems we're looking at this at the same time!