'xcode ios 'No such module GoogleSignIn'

I have an ios project that works good but after i push it to git hub and clone it again from other computer i get this error

'No such module GoogleSignIn'

No such module GoogleSignIn



Solution 1:[1]

I had the same problem and the way I fix this is that every time I get this error, I just close the project and reopen it. While this happens, I think it saves on to my icloud.

Solution 2:[2]

Open your project in terminal app and do pod install

Another possible solution: open xcodeproj file instead of xcworkspace and check again

Solution 3:[3]

Try Following things:

  1. Clean the Xcode project using Command + Shift + K

  2. Install the dependencies again using pod install (if using Cocoapods)

  3. Restart Xcode.

  4. Open the .xcworkspace file rather than the original project file itself.

  5. Delete .xcworkspace file and pods folder from directory and then install the pod dependencies using pod install

Solution 4:[4]

For me, It was a Xcode bug on duplicate files.

Step 1: Copy the contents of the file in which there is the error of "No such module ****"

Step 2: Delete the File

Step 3: New a file and Paste the contents.

Solution 5:[5]

I got same problem

My mistake is that I put below pod

pod 'GoogleSignIn'

in wrong line in podfile

The right one should be below :

#Pods for ,YOUR APP NAME here,

Then I did install the pods again using the terminal and no more got the error

I hope you to get the solution

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 rarora25
Solution 2 Raman Shyniauski
Solution 3
Solution 4 August Lin
Solution 5 Programmer 919