skip to Main Content

I am trying to login with Firebase Google Login. After installing the pods when i import header file
‘GoogleSignIn’ it gives me an error.

No such module ‘GoogleSignIn’

enter image description here

Here is my pod file

enter image description here

I also tried different troubleshoot methods like

  1. update pods
  2. Restarted Xcode

But none of methods did work for me. How i fix this issue

2

Answers


  1. Maybe you can fix that by cleaning the build with cmd+shift+k and removing the derived data(xcode->preferences->location->derived_data_folder and remove the derived data folder).
    If the above process didn’t work then reinstall the pods.

    • pod deintegrate
    • pod cache clean –all
    • pod install
    Login or Signup to reply.
  2. I think @muhammad-qais answer will work. If not try removing the text "pod ‘GoogleSignIn’, ‘~> 3.0’ " in podfile.
    Then pod install. It removes the existing google Sign in pod.
    And then install google sign in Pod from cocoapods.org as usual.
    Hope it works.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search