google / GoogleSignIn-iOS

Enables iOS and macOS apps to sign in with Google.
https://developers.google.com/identity/sign-in/ios
Apache License 2.0
506 stars 201 forks source link

Getting "No such module 'GoogleSignIn'" in xcode #318

Closed anandchakru closed 1 year ago

anandchakru commented 1 year ago

Describe the bug Getting "No such module 'GoogleSignIn'" in xcode

To Reproduce Steps to reproduce the behavior:

  1. Go to 'File' -> 'Add packages'
  2. Tap on 'Search' and enter https://github.com/google/GoogleSignIn-iOS
  3. Click on 'Add Packages'
  4. See error in your code on line import GoogleSignIn saying No such module 'GoogleSignIn'

Expected behavior Should not see error

Screenshots

Screen Shot 2023-06-14 at 7 14 10 AM

Environment

Additional context Tried restarting machine, restarting xcode, in a new project - nothing helped fix the issue.

mdmathias commented 1 year ago

I'm not able to reproduce this issue. Created a new project -> Added GoogleSignIn-iOS package -> Selected the library in the last step of the import process-> Imported GoogleSignIn in a file -> Built and ran without error.

I'm not sure how to help you with this, but I think it's related to your set up somehow. I'm closing this as not reproducible, but please reopen if you have additional details that can help debug your issue.

Screenshot 2023-06-14 at 11 18 53 AM