Ionic add platform ios showing phonegap-plugin-push error on mac OS Sierra -
hi when tried platform add ios showing following error, adding ios project...
creating cordova project ios platform: path: platforms/ios package: com.leniko.fuel-buddy name: fuel buddy ios project created cordova-ios@4.4.0 installing "cordova-plugin-app-version" ios installing "cordova-plugin-apprate" ios plugin dependency "cordova-plugin-dialogs@1.3.0" fetched, using version. installing "cordova-plugin-dialogs" ios plugin dependency "cordova-plugin-globalization@1.0.4" fetched, using version. installing "cordova-plugin-globalization" ios cross-platform apprate plugin cordova / phonegap installing "cordova-plugin-camera" ios plugin dependency "cordova-plugin-compat@1.1.0" fetched, using version. installing "cordova-plugin-compat" ios plugin "cordova-plugin-compat" installed on ios. making top-level. installing "cordova-plugin-console" ios installing "cordova-plugin-device" ios plugin "cordova-plugin-dialogs" installed on ios. making top-level. installing "cordova-plugin-file" ios plugin dependency "cordova-plugin-compat@1.1.0" fetched, using version. dependent plugin "cordova-plugin-compat" installed on ios.
the android persistent storage location defaults "internal". please check plugins readme see if application needs changes in config.xml.
if new application no changes required.
if update existing application did not specify "androidpersistentfilelocation" may need add:
"<preference name="androidpersistentfilelocation" value="compatibility" />"
to config.xml in order application find stored files.
installing "cordova-plugin-file-transfer" ios plugin dependency "cordova-plugin-file@4.3.0" fetched, using version. dependent plugin "cordova-plugin-file" installed on ios. plugin "cordova-plugin-globalization" installed on ios. making top-level. installing "cordova-plugin-splashscreen" ios installing "cordova-plugin-statusbar" ios installing "cordova-plugin-whitelist" ios installing "cordova-plugin-x-socialsharing" ios installing "cordova-plugin-x-toast" ios installing "ionic-plugin-keyboard" ios installing "phonegap-plugin-push" ios failed install 'phonegap-plugin-push': undefined error: /library/ruby/gems/2.0.0/gems/claide-1.0.2/lib/claide/command.rb:439:in `help!': [!] cannot run cocoapods root. (claide::help)
usage:
$ pod command cocoapods, cocoa library package manager.
commands:
+ cache manipulate cocoapods cache + env display pod environment + init generate podfile current directory + install install project dependencies according versions podfile.lock + ipc inter-process communication + lib develop pods + list list pods + outdated show outdated project dependencies + repo manage spec-repositories + setup setup cocoapods environment + spec manage pod specs + update update outdated project dependencies , create new podfile.lock
options:
--silent show nothing --version show version of tool --verbose show more debugging information --no-ansi show output without ansi codes --help show banner of specified command /library/ruby/gems/2.0.0/gems/cocoapods-1.3.1/lib/cocoapods/command.rb:47:in `run' /library/ruby/gems/2.0.0/gems/cocoapods-1.3.1/bin/pod:55:in `<top (required)>' /usr/local/bin/pod:23:in `load' /usr/local/bin/pod:23:in `<main>'
i had installed cocoapods , run above command sudo , without sudo.
i had solved problem changing plugin phonegap-push firebase plugin , working fine in android ios. please go cordova-firebase plugin version 1.22.
Comments
Post a Comment