-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot find protocol declaration for 'GIDSignInUIDelegate'; did you mean 'GIDSignInDelegate #102
Comments
Why would you write your message like that? It's so difficult to read. I am experiencing the same issue. Possibly related: react-native-google-signin/google-signin#707 |
|
I was having the same error and by looking at my Podfile I now know why: https://developers.google.com/identity/sign-in/ios/release So a simple fix is to change the version to be always below 5.0.0. Either you change it in your Podfile directly: or you change it in the GoogleSignInDependencies.xml (for future rebuilds of the XCode proj.): |
|
hi, @Kromzem solution worked for me on local builds, on the cloud build the XML parser throws an error when using the '<' 5.0.0 |
Thanks this worked for me! |
still without answer I tried changing 4.0.2 to 5 and still not working for me |
you need to change >= to< . it will work when version less than 5 |
|
@TWBestATM i did that and still without working :c |
which erro you get? |
those ones |
can i see your setting about iospod? |
@TWBestATM im new with cocoa how can i do that? |
what do you mean? |
i mean how can i show you my settings about iospod? @TWBestATM |
|
unity doesn't let me build if I use '<' |
lol it work with those symbols thanks so much!!! |
omg im stuck here like all of you guys!... help meeee! |
We aren't stuck anymore... the solution is simple, follow the posts solutions and post here if you didn't get some specific part. |
1------ error error: 3--------
error: but still failling :( |
After I fixed the code, |
i've been build folder clean, and then build and same error :( ------ UPDATE Fixe the problem!!!!, i change from C# without simbols, just '4.0.2' and works! thanks to all! |
I am using direct sdk implementation not via pods and having same problem, can any one help?
Thanks in advance. |
@surbhiMagplus me too; (hate cocoapods with the passion of 1000 burning suns) anyways; doesn't look like that property is there anymore in the new code base. Readme.md from the 'no cocoapods' static library lead me to this repo: https://github.com/firebase/quickstart-ios Through which I found this code:
Doesn't look like theres a GIDSignInUIDelegate exists anymore so I simply removed that from my protocols declared in my view controller's .h file.. I also had to add this line to the code above to get it to avoid a runtime error that was complaining about lack of client id:
|
@gr9 I am facing another problem, My permission pop-up comes and go away I am not able to allow it. Also it is giving me google/link/?dismiss=1&is_weak_match=1 url is openURL method. Can you help me |
@surbhiMagplus yeh me too.. getting this error in the console (obviously related to memory management somehow):
will let you know if i make any progress. Seems to be related to whatever that ios alert box popping up asking for permission for the app to use google sign in; that immediately dissapears before you can tap 'ok'. Might be iOS 13 related; I noticed the same alert box on an iOS 13 device running the older 4.1 google sign in (not firebase version); but that version of my app is still working fine re: google signin. Wonder if there's a way to check if the app has user permission to use google sign in first & then if not first present them with the request for permission (e.g. the same way you do when requesting location permissions). |
Only way I was able to figure this out was using cocoapods and the instructions above (e.g limit google sign on to version 4.x.) There's something wrong obviously with the firebase 6.x build vis a vis google sign in. |
Just see a migration guide > https://developers.google.com/identity/sign-in/ios/quick-migration-guide |
Thanks for the link @benmore99 ; ended up sticking with 4.x as the so called "sunsetting" of Google Analytics didn't affect GA for my apps. Will check out your link when I eventually upgrade - at a glance I did all of that already, however it might contain something I missed. Regardless, would be nice if the general documentation (not the more obscure and harder to find migration documentation) was correct. |
Solved my problem.. Thanks @benmore99 |
I'm using Unity 2019.3.0f6 and GoogleSignIn 5.0.2 via pod, but still can't figure out the solution. I'm still stuck on the issues mentioned in first screenshot, as I just imported this plugin and change the GoogleSignIn version. Kindly someone zip the solution or upload on git and share over here, after doing the changes. Apologies, I'm a bit noob in the native iOS. Thanks! |
They have made some major changes after the 4.4.0 version which are incompatible with the previous version. |
Actually we need to use 5.0.0+ to be in conformity with the new requisite by apple to not use UIWebView. |
Found a solution here |
I change just '4.0.2' without symbols and works too! |
I am having this same issue. Did you find a solution to this? |
Visit this link to get the best solution to resolve this. |
▸ ❌; /BUILD_PATH/gamewolfinc.testslots.release_ios/temp.XXXXXX20190816-5373-lqln/Libraries/Plugins/IOS/GoogleSignIn/GoogleSignIn.h:18:36: cannot find protocol declaration for 'GIDSignInUIDelegate'; did you mean 'GIDSignInDelegate'?
8124: ▸ ❌; /BUILD_PATH/gamewolfinc.testslots.release_ios/temp.XXXXXX20190816-5373-lqln/Libraries/Plugins/IOS/GoogleSignIn/GoogleSignInAppController.mm:78:10: property 'uiDelegate' not found on object of type 'GIDSignIn *'; did you mean 'delegate'?
8125: ▸ ❌; /BUILD_PATH/gamewolfinc.testslots.release_ios/temp.XXXXXX20190816-5373-lqln/Libraries/Plugins/IOS/GoogleSignIn/GoogleSignInAppController.mm:99:38: no visible @interface for 'GIDSignIn' declares the selector 'handleURL:sourceApplication:annotation:'
8126: ▸ ❌; /BUILD_PATH/gamewolfinc.testslots.release_ios/temp.XXXXXX20190816-5373-lqln/Libraries/Plugins/IOS/GoogleSignIn/GoogleSignInAppController.mm:116:22: no visible @interface for 'GIDSignIn' declares the selector 'handleURL:sourceApplication:annotation:
I get this error
how can I fix that?
can someone help?
is they replace name or other?
The text was updated successfully, but these errors were encountered: