cordova-plugin-googleplus icon indicating copy to clipboard operation
cordova-plugin-googleplus copied to clipboard

No type or protocol named 'GIDSignInDelegate'

Open saravanan-10 opened this issue 3 years ago • 4 comments

I am developing an iOS app using Cordova framework. I am trying to send push notification using firebase.

So I have installed "cordova-plugin-firebasex" plugin, "cordova-plugin-googleplus" plugin and I have installed CocoaPod too.

I am getting below errors in GooglePlus.m and GooglePlus.h files when I try to build in Xcode.

Generics issue in GooglePlus.h file

image

ARCSemantic issues in GooglePlus.m file

image

image

image

image

Podfile informations below

source 'https://cdn.cocoapods.org/'
platform :ios, '11.0'
use_frameworks!
target 'my app' do
    project 'Hourglass.xcodeproj'
    pod 'Firebase/Core', '8.11.0'
    pod 'Firebase/Auth', '8.11.0'
    pod 'Firebase/Messaging', '8.11.0'
    pod 'Firebase/Performance', '8.11.0'
    pod 'Firebase/RemoteConfig', '8.11.0'
    pod 'Firebase/InAppMessaging', '8.11.0'
    pod 'FirebaseFirestore', :tag => '8.11.0', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git'
    pod 'Firebase/Crashlytics', '8.11.0'
    pod 'Firebase/Functions', '8.11.0'
    pod 'Firebase/Installations', '8.11.0'
    pod 'GoogleSignIn', '6.1.0'
    pod 'GoogleTagManager', '7.3.1'
    pod 'GoogleUtilities', '~> 7.2.2'
end

Can anyone help me why this issue is happening?

Thanks in advance!!

saravanan-10 avatar Mar 15 '22 11:03 saravanan-10

Hi @saravanan-10 try this config in pod:

	pod 'GoogleSignIn', '~> 5.0.2'
	pod 'GoogleUtilities', '~> 7.7.0'

exactly this versions... replace in your podfile and run pod install...

acosme avatar Mar 18 '22 22:03 acosme

Hello,

Did you find a solution ?

Thanks in advance for answer

rL071 avatar Oct 18 '22 09:10 rL071

pod 'FBSDKCoreKit', '~> 16.0' pod 'FBSDKCoreKit_Basics', '~> 16.0' pod 'FBSDKGamingServicesKit', '~> 16.0' pod 'FBSDKLoginKit', '~> 16.0' pod 'FBSDKShareKit', '~> 16.0' pod 'Firebase/Auth', '10.6.0' pod 'Firebase/Core', '10.6.0' pod 'Firebase/Firestore', '10.6.0' pod 'GoogleSignIn', '>= 4.0.2' end

same problem. No type or protocol named 'GIDSignInDelegate'

alicanyimaz avatar Apr 27 '23 08:04 alicanyimaz

same problem. No type or protocol named 'GIDSignInDelegate'.

Did anyone find a solution.

thank you in advance

Subhimarabe avatar May 16 '23 19:05 Subhimarabe