Google-signin: Linker Command failed with exit code 1

Created on 16 Apr 2017  路  17Comments  路  Source: react-native-google-signin/google-signin

Hey guys, I followed the install instructions for automatic, and manual, yet I'm still getting this error when I'm trying to build the project.

It doesn't display any other errors, any idea what's going on?

screen shot 2017-04-16 at 1 08 54 am

馃挜 Build Issue

Most helpful comment

I was able to fix this error.

Instead of adding GoogleSymbolUtilities.framework, GoogleAuthUtilities.framework, etc. to "Link Binary With Libraries" I added only GoogleSignIn.framework from /ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework

All 17 comments

I am getting the same error. any solution?

try to do

react-native link react-native-google-signin

I had the same error and this solved my problem as far as I remember...
@lightninglu10 @Pegahkeshavarz

I'm getting the same error. When I go to Reporter Navigator in Xcode to expand on the issue it says
library not found for -lGTMOAuth2 above the Linker command failed error

I am getting the same error too.

Same here. Did anyone manage to find a solution?

Getting the same error too

I was able to fix this error.

Instead of adding GoogleSymbolUtilities.framework, GoogleAuthUtilities.framework, etc. to "Link Binary With Libraries" I added only GoogleSignIn.framework from /ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework

thanks this helped solve it for me also

I followed all the steps and I am not finding any GoogleSignIn.framework under the ios/Pods/GoogleSignIn. In fact there is no Frameworks folder.
I tried to grab it from the zip file google_signin_sdk_4_1_2.zip and now I get
RNGoogleSignin/RNGoogleSignin.h not found.
I presume I have the wrong framework. Where do I found the GoogleSignIn framework for react-native?

+1

I am facing the same problem and I added GoogleSignIn.framework from /ios/Pods/GoogleSignIn/Frameworks/GoogleSignIn.framework and yet I am having the same error

After adding GoogleSignIn.framework from ios/Pods/GoogleSignIn/Framework still i got the same error.

Any one got some solution this?
After adding GoogleSignIn.framework from ios/Pods/GoogleSignIn/Framework still i got the same error.

Please check out our Example app it should help you get this going

Open a new issue if you encounter a problem.

Thank you.

Is there any concrete solution for this? None of the above solution is working.. @AndreiCalazans @nikita-usatenko @lightninglu10 @anil-kumar-singh @niralivasoya

@vibhavagarwal5 can you open an separate issue, since this issue was a bit old it was closed. Also it would be much easier for others to help if it had a reproducible example.

my issue gone when i did the following things:
1) remove ios/Pods by rm -rf ios/Pods.
2) remove Podfile.lock.
3) remove lines in Podfile that you didn't add but there is.
4) pod install

Was this page helpful?
0 / 5 - 0 ratings