title: Firebase Ionic 4 plugin
body: <p>I get the following error all the time:</p>
  <pre><code>Discovered plugin &quot;cordova-plugin-firebase&quot; in config.xml. Adding it to the project
  Installing &quot;cordova-plugin-firebase&quot; for ios
  Error during processing of action! Attempting to revert...
  Failed to install 'cordova-plugin-firebase': CordovaError: Uh oh!
  File already exists at destination &quot;/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/RACE SOS/Resources/GoogleService-Info.plist&quot; for resource file specified by plugin cordova-plugin-firebase in iOS platform
      at install (/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/cordova/lib/plugman/pluginHandlers.js:64:23)
      at ActionStack.process (/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/cordova/node_modules/cordova-common/src/ActionStack.js:56:25)
      at PluginManager.doOperation (/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/cordova/node_modules/cordova-common/src/PluginManager.js:114:20)
      at PluginManager.addPlugin (/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/cordova/node_modules/cordova-common/src/PluginManager.js:144:17)
      at Api.addPlugin (/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/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:854:54)
      at /usr/local/lib/node_modules/cordova/node_modules/q/q.js:883:30
      at Promise.promise.promiseDispatch (/usr/local/lib/node_modules/cordova/node_modules/q/q.js:816:13)
  Failed to restore plugin &quot;cordova-plugin-firebase&quot; from config.xml. You might need to try adding it again. Error: Uh oh!
  File already exists at destination &quot;/Users/alexcarrascosalvador/Documents/Projects/RACE/race-sos/platforms/ios/RACE SOS/Resources/GoogleService-Info.plist&quot; for resource file specified by plugin cordova-plugin-firebase in iOS platform
  </code></pre>
  <p>I found it impossible to fix this error. I put my plugins in order to install Firebase first, but I still get this error when I try to install the plugin in the iOS platform. I also removed the platform and added it again and I still get the error. I deleted the whole project and downloaded again, installed the dependencies and build it, but I still get the <code>cordova-plugin-firebase</code> error...</p>