Skip to content
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

iOS Build Error 'Cannot find type 'GIDSignInDelegate' in scope' in PRO template v4.0.0 #33

Open
JanPhill opened this issue Dec 28, 2021 · 4 comments

Comments

@JanPhill
Copy link

Hi,

I am getting the Swift Compiler Error 'Cannot find type 'GIDSignInDelegate' when trying to build the Ionic Full Starter App v4.0.0 (PRO version) in Xcode.

I made sure the GoogleService-Info.plist file is present in the app folder as explained in the docs. I also followed #31 but without success.

In Ionic Full Starter App v3.0.0 I had the same error but was able to fix it by upgrading to capacitor-firebase-auth@3.1.2-rc.3 but in v4.0.0 this is not possible anymore as rxjs was upgraded to 7.4.0 and capacitor-firebase-auth@3.1.2-rc.3 requires a peer of rxjs@~6.6.7 and results in angular build errors when using rxjs@7.4.0.

Would be very grateful for advice.

Best,
Jan

@djabif
Copy link
Contributor

djabif commented Dec 29, 2021

Hey Jan, which steps did you follow? I've just built everything from scratch and didn't have any problem. You could try downgrading rxjs if you need.

@JanPhill
Copy link
Author

JanPhill commented Jan 4, 2022

Hi Dayana,

I followed the steps in your documentation https://ionic-5-full-starter-app-docs.ionicthemes.com/capacitor to deploy the app to an ios device using capacitor.

This is the error I get in Xcode when I try to build the untouched app from your repository:
image

Even tried to completely remove and readd the ios platform but without success. Meanwhile I got it working by upgrading capacitor-firebase-auth to v3.1.2-rc.3 and downgrading rxjs to v6.6.7.

Which version of Xcode are you using?

Best,
Jan

@djabif
Copy link
Contributor

djabif commented Jan 6, 2022

Hey Jan, thanks for the update and for the information.

I'm using Xcode Version 12.5.1 (12E507).
I recorded a video showing how to run the ionic template in iOS and Android. Maybe it helps.
There's no need to remove and re-add the platforms.

I'm using capacitor-firebase-auth v3.0.0 and rxjs 7.4.0

As soon as the capacitor-firebase-auth gets updated to the latest version of Firebase we will update the template.

@JanPhill
Copy link
Author

Hi Dayana,

thank you very much for the video. I followed the steps but still getting the build error.

I am using the most recent version of Xcode 13.2.1. Maybe you could update to that version and see if that reproduces the error on your side.

Best,
Jan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants