[英]Failed to install 'phonegap-plugin-push': undefined ionic3
Getting the following error 出现以下错误
Installing "phonegap-plugin-push" for ios Failed to install 'phonegap-plugin-push': undefined (node:723) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): /bin/sh: /usr/local/bin/pod: /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby: bad interpreter: No such file or directory 为ios安装“ phonegap-plugin-push”失败安装“ phonegap-plugin-push”失败:未定义(节点:723)UnhandledPromiseRejectionWarning:未处理的承诺拒绝(拒绝ID:1):/ bin / sh:/ usr / local / bin / pod:/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby:错误的解释器:无此类文件或目录
?I solved the issue by reinstalling the cocoapods. 我通过重新安装cocoapods解决了该问题。
sudo gem install cocoapods 须藤宝石安装cocoapods
It worked in my case. 就我而言,它奏效了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.