'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'
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:
Clean the Xcode project using
Command + Shift + KInstall the dependencies again using
pod install(if using Cocoapods)Restart Xcode.
Open the
.xcworkspacefile rather than the originalproject fileitself.Delete
.xcworkspacefile andpodsfolder from directory and then install the pod dependencies usingpod 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 |
