Cordova plugin add phonegap-plugin-push --save | Error: Version should contain only numbers and dots

I try to install phonegap-plugin-push and have error:

cordova plugin add phonegap-plugin-push --save
Fetching plugin “phonegap-plugin-push@1.10.0” via npm
Installing “phonegap-plugin-push” for ios
Failed to install ‘phonegap-plugin-push’:undefined
Error: Version should contain only numbers and dots

removed platform / added platform, not helps

ionic info:

Cordova CLI: 6.5.0
Ionic Framework Version: 2.3.0
Ionic CLI Version: 3.0.0-beta.4
ios-deploy version: 1.9.0
ios-sim version: 5.0.13
OS: macOS Sierra
Node Version: v7.0.0
Xcode version: Xcode 8.2.1 Build version 8C1002

looks like rare problem …

@pyav I just had the same issue, and apparently it had to do with my cocoapods version (cocoapods-1.3.0.beta.1).

I downgraded to “cocoapods-1.2.1” and that fixed my problem.

Hope it helps.