google-signin: -[GIDSignIn setUiDelegate:]: unrecognized selector sent to instance 0x600002320f00' was thrown while invoking configure on target RNGoogleSignin with params
I have referred to the issues
- https://github.com/react-native-community/react-native-google-signin/issues/599
- https://github.com/googlesamples/google-services/issues/102
Here is my package.json dependency “@react-native-community/google-signin”: “^3.0.1”, “react-native”: “0.61.2”,
here is my Podfile dependency pod ‘GoogleSignIn’ Using GoogleSignIn (5.0.0)
The pod says >5 is not supported.
Here is my problem. I cannot use pod GoogleSignIn < 5 because i use react-native 0.61.2 and the docs for react-native-community/react-native-google-signin clearly states For RN >= 0.60 please use version 3 installed from @react-native-community/google-signin
yarn add @react-native-community/google-signin
And version 3 needs GoogleSignIn >= 5
If I downgrade my pod to v4 I get the following error [!] CocoaPods could not find compatible versions for pod “GoogleSignIn”: In Podfile: GoogleSignIn (~> 4.4.0)
RNGoogleSignin (from `../node_modules/@react-native-community/google-signin`) was resolved to 3.0.1, which depends on
GoogleSignIn (~> 5.0.0)
Specs satisfying the GoogleSignIn (~> 4.4.0), GoogleSignIn (~> 5.0.0) dependency were found, but they required a higher minimum deployment target.
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Reactions: 2
- Comments: 19 (3 by maintainers)
Yeah unfortunately I had to recreate my entire project again and copy my code across. Not ideal. I am thinking there was an issue when I upgraded my project from 59.5 to 60 and having to switch to the RN community package/ pods setup. I did try and unlink the old stuff and looked through all my old code for anything linking the old package but couldn’t find anything. But there is definitely some upgrade issue there.