Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Installing for ios #31

Open
vvarda opened this issue Jul 1, 2019 · 1 comment
Open

Installing for ios #31

vvarda opened this issue Jul 1, 2019 · 1 comment

Comments

@vvarda
Copy link

vvarda commented Jul 1, 2019

Installing "cordova-plugin-firebase-lib" for IOS produces warning message:

Error during processing of action! Attempting to revert...
Failed to install 'cordova-plugin-firebase-lib': CordovaError: Uh oh!
File already exists at destination "/Users/varda/Desktop/Projects/user-portal-cordova/platforms/ios/Смарт-гроші/Resources/GoogleService-Info.plist" for resource file specified by plugin cordova-plugin-firebase-lib in iOS platform
    at install (/Users/varda/Desktop/Projects/user-portal-cordova/platforms/ios/cordova/lib/plugman/pluginHandlers.js:64:23)
    at ActionStack.process (/Users/varda/Desktop/Projects/user-portal-cordova/node_modules/cordova-common/src/ActionStack.js:56:25)
    at PluginManager.doOperation (/Users/varda/Desktop/Projects/user-portal-cordova/node_modules/cordova-common/src/PluginManager.js:114:20)
    at PluginManager.addPlugin (/Users/varda/Desktop/Projects/user-portal-cordova/node_modules/cordova-common/src/PluginManager.js:144:17)
    at Api.addPlugin (/Users/varda/Desktop/Projects/user-portal-cordova/platforms/ios/cordova/Api.js:245: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 "cordova-plugin-firebase-lib" from config.xml. You might need to try adding it again. Error: Uh oh!

@sagrawal31
Copy link
Member

sagrawal31 commented Jul 1, 2019

Can you do the following:

rm -rf platforms/android
rm -rf platforms/ios
cordova plugin remove cordova-plugin-firebase-lib
cordova plugin add cordova-plugin-firebase-lib
cordova platform add android
cordova platfor add ios

Also, confirm your cordova environment versions and make sure the plugin versions.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants