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
'GoogleSignIn/GIDSignIn.h' file not found #188
Comments
|
Use this branch if you are not already, to support 5.0.0 https://github.com/lukezbihlyj/google-signin-unity GoogleSignIn/GIDSignIn.h is a dependency. It gets mentioned in GoogleSignIn/Editor/GoogleSignInDependencies.xml, then a post build script should pick that up and add it to your pod file when you build the project for iOS. That post build operation is done by the External Dependency Manager (formerly called play services resolver). You might be missing it; do you see it in Assets->External Dependency Manager? If not get it here: https://github.com/googlesamples/unity-jar-resolver Btw, iOS SDK updated with breaking changes in 6.0.0, change GoogleSignIn/Editor/GoogleSignInDependencies.xml, replace |
|
Thanks for your suggestion. I ended up manually adding the necessary files, which kinda ruins the purpose of dependency management, but I needed to get this stuff working asap. What you're describing makes sense to me. I'm aware of the resolver and how it's supposed to import the necessary files, but for some reason that isn't happening. That's what I don't really understand, why it doesn't import the stuff it's supposed to import. Perhaps changing to 5.0.2 will help. When I imported the package, it came with a version of the resolver. It's interesting to note that mine is still called Play Services Resolver. It doesn't seem like that should be a problem, as the package should include a working, compatible version of the resolver. Still, it might be worth updating to the External Dependency Manager. |
Helpful. To automatically create Google Library with Pod. Solved my issue. Saved my time. Thanks |
|
Hi I have the same issue here Hey I fixed this problem now, In Cocoapod 1.10.2 only support Firebase ios pod "8.9.0" |
@TianRy1337 Could you help me explaining this in more details? I have the same issue |
|
@FernandoSLuz Hi, Sorry for Reply you late. |
Sure, the solution to accomplish that following @TianRy1337 's line of though was this: |
I am getting this issue when I build my project to Xcode.
'GoogleSignIn/GIDSignIn.h' file not foundThis is in the file GoogleSignIn.h on the line to import <GoogleSignIn/GIDSignIn.h>.
I have no idea what is happening here. I followed the setup steps, and got it working just fine on Android, but I can't shake this issue on iOS. I've read through every forum response I could find about this issue. I've tried repeating people's checklists, adding things to the build settings, manually installing the pods in the Xcode project, and nothing works.
What strikes me as curious is the GoogleSignIn.h and GoogleSignInAppController.h are both already in the package when you import it, but this is not. Is this supposed to be installed from CocoaPods, or is it supposed to already be in the package? What am I doing wrong here that I'm not getting this file in my project?
The text was updated successfully, but these errors were encountered: