-1
雖然sudo ionic platform add ios
我收到低於錯誤, 我添加了'aerogear-cordova-push'插件,之後刪除了平臺並嘗試再次添加。未能安裝'aerogear-cordova-push':undefined
Failed to install 'aerogear-cordova-push':undefined
Error: /Library/Ruby/Gems/2.0.0/gems/claide-1.0.1/lib/claide/command.rb:439:in `help!': [!] You cannot run CocoaPods as root. (CLAide::Help)
Cordova CLI: 7.0.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.2.3
Ionic App Lib Version: 2.2.1
Ionic App Scripts Version: 0.0.44
ios-deploy version: Not installed
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v6.9.5
Xcode version: Xcode 8.3.2 Build version 8E2002
有什麼建議嗎?
我試過IONIC:Unable to install phonegap-plugin-push in ios app但因此未幫助