Error installing ionic push plugin (for iOS) on windows -




i'm developing app in ionic ios , android, added both platforms project. i'm getting following when add push plugin. installs android, not ios

ionic cordova plugin add phonegap-plugin-push --save > cordova plugin add phonegap-plugin-push --save × running command - failed! [error] cordova encountered error.     may more insight running cordova command above directly.  [error] error occurred while running cordova plugin add phonegap-plugin-push --save (exit code 1):      installing "phonegap-plugin-push" android     subproject path: cordovalib     installing "phonegap-plugin-push" ios     failed install 'phonegap-plugin-push': undefined     error: warning: cocoapods requires terminal using utf-8 encoding.     consider adding following ~/.profile:      export lang=en_us.utf-8      c:/ruby22-x64/lib/ruby/gems/2.2.0/gems/claide-1.0.2/lib/claide/command.rb:439:in `help!': [!] cannot run     cocoapods root. (claide::help) 

here ionic info

ps d:\scripturi\ionic\dangle> ionic info  @ionic/cli-plugin-cordova       : 1.6.2 @ionic/cli-plugin-ionic-angular : 1.4.1 @ionic/cli-utils                : 1.7.0 ionic (ionic cli)               : 3.7.0  global packages:  cordova cli : 7.0.1  local packages:  @ionic/app-scripts : 2.1.3 cordova platforms  : android 6.2.3 ios 4.4.0 ionic framework    : ionic-angular 3.6.0  system:  node : v7.2.1 os   : windows 10 npm  : 3.10.10 

tried removing platforms , adding them back. suggestions how fix this?

the ios verison of plugin requires cocoapod (firebase) installed. cocoapods used manage objc , swift dependencies , available in osx environments, it's quite expected plugin install fails on windows.

i'd suggest remove ios platfom when developing on windows machine.





wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -