No such module 'GoogleSignIn' - Xcode 12 - swift

I have seen serval questions regarding this same issue, i have gone through them all and tried them all.
I have tried :
pod deintegrate + pod install
setting Deployment Target 12.0
adding libGoogleSignIn.a to Link Binary With Libraries and to Frameworks, Libraries, and Embedded Content
Clean derivedData
Clean build folder, clean derivedData, exit Xcode , remove Pod and then install pod and then start Xcode and then build.
Checked pod folder and verified that GoogleSignIn folder exists
I have tried all of the stuff mentioned in the other answers and non of this fix my issue. I have several other pods installed and they are all working fine and has no issues.

I found a way to make it work.
Currently pod 'GoogleSignIn' installs google sign in 6.0.0 and unfortunately i was not able to do import GoogleSignIn with this version of the pod.
So i went back and changed pod 'GoogleSignIn' to pod 'GoogleSignIn' , '~> 5.0' and then i was successfully able to import GoogleSignIn
Answering back just incase someone else gets the same issue, try going back to previous versions !
If anybody has any other way to resolve this by using current version, please answer :)

Related

Facebook-IOS-SDK pod installation issue

I'm using Xcode 10.2 and swift 5. When I update my pods, facebook SDK pod giving me errors. please see attached image
is anyone facing this issue? How can I install pods with facebook-IOS-SDK?
This library is deprecated, seems like you need to replace the old pod with the 'FBSDKCoreKit', 'FBSDKLoginKit', and 'FBSDKShareKit' pods
Source
The old library's source

Firebase Cocoa Pods Error After Swift 5 Update

I am currently using Xcode Version 10.2 beta 4 and have updated the project to Swift 5.
Upon doing this I have run into a ton of errors relating to my Firebase Pods.
I have deintegrated the pods and installed again and even tried pod update. I have also restarted Xcode multiple times and couldn't get these errors to clean themselves up.
Does anyone know what is happening here?
If you're using Pods, put inhibit_all_warnings! in your Podfile and run pod install to silence the warnings.
I have this issue too but with the official version of xCode 10.2. Maybe as these are only warnings it isn’t blocking anything but it is slowing up my compiler, causing other errors

Xcode freezes on project load after installing facebook pods

Other posts solutions didn't help with my problem.
After i installed these pods
pod 'FacebookCore'
pod 'FacebookLogin'
pod 'FacebookShare'
my Project.xcworkspace and even the Project.xcodeproj won't load. Xcode freezes during loading the project.
Unfortunately even after uninstalling the pods again, Xcode still freezes on project loadup.
Solution 1
I hope the last session was saved somewhere, In most cases just remove the Autosave Information's content
~/Library/Autosave Information
Solution 2
quit Xcode and clean out ~/Library/Developer/Xcode/DerivedData
Solution 3
If your project is sync with icloud please unsync from iCloud

Build errors in Keychain.swift when compiling in XCode, iOS development

Xcode version is 7.3.1
OSX 10.11.6
This link accurately describes the issues I'm having
https://github.com/marketplacer/keychain-swift/issues/37
Errors I'm getting make it clear that my system just isn't recognizing the Keychain.Swift file.
The above link suggests the file is in Swift 3.0, and I double checked that I am running Swift 2.2.
So I tried to install the older version of Keychain.Swift via cocoapods and it seems to update in my system, but I'm still experiencing the same build errors.
I placed "pod 'KeychainSwift', '~> 3.0'" inside the pod file in Xcode and ran "install pod" from terminal inside the project directory.
I tried shutting down Xcode and reopening, I tried running Product-> clean, but nothing seems to work.
The project is a work file that was pulled from github and seems to work on the original authors environment, but I have yet to successfully get my environment to work.
I appreciate any advice and suggestions. I am new to swift, cocoapods, and iOS development.
As i can see the current version of Keychain.Swift you are using is in Swift 3.0
It is giving you error of Date class which is introduced in Swift
3.0
Date Class Documentation Unfortunately Which is supported in ios 10+
Please follow the below steps to remove the previous version and switch to older version:
Remove this line "pod 'KeychainSwift', '~> 3.0'" from your pod and run install pod this will remove the current KeychainSwift pod.
Now add this line pod 'KeychainSwift', git: "https://github.com/marketplacer/keychain-swift.git", branch: "swift_2_3" Reference taken form this link this will install Swift 2.3 version of the file.
Enjoy Coading.
Turns out there are multiple libraries for utilizing the keychain. There is one called KeychainAccess and another one called Keychain-swift. One utilizes "import KeychainAccess" and the other "import KeychainSwift". I simply had the version for swift 3.0 when I'm using 2.2 (which we knew from the start, but still couldn't get it to work). The advice given by Harshal Bhavsar is accurate, but only if you are using "KeychainSwift". Otherwise, you want to roll back to an older version of "KeychainAccess" found here https://github.com/kishikawakatsumi/KeychainAccess/releases.

XCode keeps giving me "fbsdkcorekit/fbsdkcorekit.h not found" even though it's in the project.

I'm trying to implement FBSDK into my project. I already have firebase implemented, but when I try to run my project it keeps saying the framework isn't there.
I tried the step that the website gives
"Add ~/Documents/FacebookSDK to the project's Framework Search Paths setting."
But I can't even find the FrameWork Search Paths setting on the build settings tab.
I've been stuck on this one stupid part for almost two days and it's really pissed me off. I already looked through the website for solutions, but it's still not working for me.
I see you are using cocoapods.
You can integrate the Facebook SDK through cocoapods:
Include these lines in your Podfile.
pod 'FBSDKCoreKit', '~> 4.13'
pod 'FBSDKShareKit', '~> 4.13'
pod 'FBSDKLoginKit', '~> 4.13'
run pod install