Google-signin: RNGoogleSignin Buildtime issues after linking

Created on 30 May 2018  Â·  10Comments  Â·  Source: react-native-google-signin/google-signin

Hello, I followed all the steps using the iOS instructions but got error saying:

image

Environment

"react": "16.3.1"
"react-native": "0.55.3"
"react-native-google-signin": "^0.12.0"

🔦 Help Wanted 💥 Build Issue  iOS

Most helpful comment

FYI, this issue resolved if you install from master "react-native-google-signin": "react-native-community/react-native-google-signin".

All 10 comments

Automatic or manual installation?

Currently We haven't had time to actually verify the manual installation process that is missing.

It works fine with cocoapods(automatic installation).

I'm gonna send a PR make it more clear on how to use cocoapods to get the pod.

Can you add a reproducible example ? that would help us look into this error.

Hey guys, I have the same issue (it worked before but suddenly I cannot build the project on iOS anymore, on Android works fine)

issue

Hello, I have the same error. Just install react-native-google-signin and react-native-google-signin

capture d ecran 2018-06-03 a 11 27 27

For me the problem came from Pods combine with the installation of the new version of react-native-maps : 0.21.0.
To solved my problem i remove Pods to my project and use react-native-maps : 0.18.3
After that i juste do :

  1. react-native link react-native-google-signin
  2. Go to Build Settings and add to Framework Search Paths path to GoogleSdk: by default $(PROJECT_DIR)/../node_modules/react-native-google-signin/ios/GoogleSdk
  3. And after follow this procedure : https://github.com/react-native-community/react-native-google-signin/blob/master/ios-guide.md#2-google-project-configuration

I think to remove Pods is not a good solution... but it's work form me.

@vinzcoco can you clarify about removing Pods to your project? Did you remove Cocoapods or just the react-native-google-signin? Because i have the same situation where i also have the latest react-native-maps to my project.

The solution that worked for me was to change the react-native version from 0.55.4 to 0.52.1 and to add changed the pod 'CxxBridge' to pod 'BatchedBridge'.

I am also having an issue with building on IOS. The error that I get:
image
image

image
image

Running on react version 0.51.0

FYI, this issue resolved if you install from master "react-native-google-signin": "react-native-community/react-native-google-signin".

Alright, this problem is fixed on master. Thanks @mjgallag

Was this page helpful?
0 / 5 - 0 ratings