Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/apache-spark/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法识别的选择器发送到实例-Ionic cordova Google plus登录_Cordova_Ionic3 - Fatal编程技术网

无法识别的选择器发送到实例-Ionic cordova Google plus登录

无法识别的选择器发送到实例-Ionic cordova Google plus登录,cordova,ionic3,Cordova,Ionic3,使用 @ionic native/google plus:“^4.20.0” cordova插件Google Plus“^7.0.1” “cordova插件cocoapod支持”:“1.6.0”,因为将Gogole插件与以下组件一起使用: “cordova插件firebase”:“git+” 调用this.googlePlus.logout()或this.googlePlus.login()时,会出现以下错误: (logout) -[__NSCFString gtm_stringByUnes

使用

  • @ionic native/google plus:“^4.20.0”
  • cordova插件Google Plus“^7.0.1”
  • “cordova插件cocoapod支持”:“1.6.0”,因为将Gogole插件与以下组件一起使用:
  • “cordova插件firebase”:“git+”
调用this.googlePlus.logout()或this.googlePlus.login()时,会出现以下错误:

(logout)
-[__NSCFString gtm_stringByUnescapingFromURLArgument]: unrecognized selector 
*** Terminating app due to uncaught exception 'NSInvalidArgumentException'

通过安装GoogleSignIn吊舱解决:

编辑platforms/ios/Podfile并添加:
pod'GoogleSignIn',“~>4.4”

或自动在您的build street中:
perl-pi-e“s/end/\tpod'GoogleSignIn',“~>4.4'\nend/g”Podfile

那就做吧
pod安装

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