1
votes

Using

When calling this.googlePlus.logout() or this.googlePlus.login(), this gives following errors:

(logout)
-[__NSCFString gtm_stringByUnescapingFromURLArgument]: unrecognized selector 
*** Terminating app due to uncaught exception 'NSInvalidArgumentException'
(login)
-[__NSDictionaryI gtm_httpArgumentsString]: unrecognized selector sent to instance 0x1d04789c0
*** Terminating app due to uncaught exception 'NSInvalidArgumentException'
1

1 Answers

2
votes

Solved by installing GoogleSignIn pod:

edit platforms/ios/Podfile and add: pod 'GoogleSignIn', '~> 4.4'

Or automatically in your build street: perl -pi -e "s/end/\tpod 'GoogleSignIn', '~> 4.4'\nend/g" Podfile

Then do pod install