title: Could not install cordova phonegap-push-plugin for my ionic 3 app
body: <p>I've tried to install on mac for my ionic 3 app the push plugin.</p>
  
  <p>In order to install I run: <strong>sudo ionic cordova plugin add phonegap-plugin-push</strong></p>
  
  <p>As a result I get:</p>
  
  <p>-for Android seems ok</p>
  
  <p>-for iOS I recive the following errors: </p>
  
  <pre><code>Installing "phonegap-plugin-push" for android
  Subproject Path: CordovaLib
  Installing "phonegap-plugin-push" for ios
  Error during processing of action! Attempting to revert...
  Failed to install 'phonegap-plugin-push': Error 
  at copyNewFile (/Users/macbook/ionic/push2018-2/platforms/ios/cordova/lib/plugman/pluginHandlers.js:346:45)
  at installHelper (/Users/macbook/ionic/push2018-2/platforms/ios/cordova/lib/plugman/pluginHandlers.js:269:13)
  at install (/Users/macbook/ionic/push2018-2/platforms/ios/cordova/lib/plugman/pluginHandlers.js:35:13)
  at ActionStack.process (/Users/macbook/ionic/push2018-2/platforms/ios/cordova/node_modules/cordova-common/src/ActionStack.js:56:25)
  at PluginManager.doOperation (/Users/macbook/ionic/push2018-2/platforms/ios/cordova/node_modules/cordova-common/src/PluginManager.js:114:20)
  at PluginManager.addPlugin (/Users/macbook/ionic/push2018-2/platforms/ios/cordova/node_modules/cordova-common/src/PluginManager.js:144:17)
  at Api.addPlugin (/Users/macbook/ionic/push2018-2/platforms/ios/cordova/Api.js:234:10)
  at handleInstall (/usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:594:10)
  at /usr/local/lib/node_modules/cordova/node_modules/cordova-lib/src/plugman/install.js:357:28
  at _fulfilled (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:787:54)
  
  Error: Uh oh!
  "/Users/macbook/ionic/push2018-2/platforms/ios/push2018-2/Plugins/phonegap-plugin-
  push/AppDelegate+notification.m" already exists!
  
  [ERROR] An error occurred while running cordova plugin add phonegap-plugin-push --save (exit code 1).
  </code></pre>
  
  <p>===========================================================</p>
  
  <p>My technologies:</p>
  
  <pre><code>cli packages: (/usr/local/lib/node_modules)
  @ionic/cli-utils  : 1.19.1
  ionic (Ionic CLI) : 3.19.1
  </code></pre>
  
  <p>Global packages:</p>
  
  <pre><code>cordova (Cordova CLI) : 7.1.0 
  </code></pre>
  
  <p>Local packages:</p>
  
  <pre><code>@ionic/app-scripts : 3.1.8
  
  Cordova Platforms  : android 6.3.0 ios 4.5.4
  
  Ionic Framework    : ionic-angular 3.9.2
  </code></pre>
  
  <p>System:</p>
  
  <pre><code>ios-deploy : 1.9.0 
  ios-sim    : 5.0.13 
  Node       : v7.3.0
  npm        : 3.10.10 
  OS         : macOS High Sierra
  Xcode      : Xcode 9.2 Build version 9C40b 
  
  /Library/Ruby/Gems/2.3.0/gems/cocoapods-1.4.0/lib/cocoapods.rb
  </code></pre>
  
  <p>Any idea about what causes this?</p>
  
  <p>Thanks</p>