arnesson / cordova-plugin-firebase

Cordova plugin for Google Firebase
http://arnesson.github.io/cordova-plugin-firebase
MIT License
1k stars 1.55k forks source link

PhoneGap build error #956

Open ghost opened 5 years ago

ghost commented 5 years ago

Scenario: Development OS: Windows 10 PhoneGap cli version: 8.2.2 Settings in config.xml have been changed to use the following:

A fresh PhoneGap project was created locally, and a fresh copy of the firebase plugin was used with the relevant custom changes made regarding our specific google-services.json and GoogleService-Info.plist firebase files. I couldn't find any api settings in the plugin.xml, there used to be????

Installed plugins are as follows (lines from config.xml - some personal details omitted with x's):

<plugin name="cordova-plugin-app-version" spec="~0.1.9" />
<plugin name="cordova-plugin-console" spec="~1.1.0" />
<plugin name="cordova-custom-config" spec="~5.0.2" />
<plugin name="cordova-plugin-datepicker" spec="~0.9.3" />
<plugin name="cordova-plugin-device" spec="~2.0.2" />
<plugin name="cordova-plugin-dialogs" spec="~2.0.1" />
<plugin name="cordova-plugin-directions" spec="~0.4.4" />
<plugin name="cordova-plugin-geolocation" spec="~4.0.1" />
<plugin name="cordova-plugin-inappbrowser" spec="~3.0.0" />
<plugin name="cordova-plugin-network-information" spec="~2.0.1" />
<plugin name="cordova-plugin-splashscreen" spec="~5.0.2" />
<plugin name="cordova-plugin-statusbar" spec="~2.4.2" />
<plugin name="cordova-plugin-x-socialsharing" spec="~5.4.3" />
<plugin name="cordova-plugin-firebase" spec="https://xxxxxxxxxxx@github.com/xxxxxxxxxx/cordova-plugin-firebase-new.git" />

Problem: Get latest code from Github in PhoneGap Build site, build takes place, Apple build finishes with no problems, Android build fails with the following error:

/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigFile.js:240
        throw new Error(msg);
        ^

Error: Does not appear to be an xcode project, no xcode project file in 
    at getIOSProjectname (/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigFile.js:240:15)
    at resolveConfigFilePath (/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigFile.js:176:29)
    at ConfigFile_load [as load] (/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigFile.js:62:36)
    at new ConfigFile (/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigFile.js:53:10)
    at ConfigKeeper_get [as get] (/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigKeeper.js:51:23)
    at PlatformMunger_apply_file_munge [as apply_file_munge] (/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:78:50)
    at munge_helper (/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:236:14)
    at PlatformMunger.add_config_changes (/cordova/node_modules/cordova-common/src/ConfigChanges/ConfigChanges.js:214:12)
    at Object.<anonymous> (/cordova/prepare:67:10)
    at Module._compile (module.js:556:32)

So all work currently stopped. Builds were working fine, so something has happened recently???

Any ideas whats causing this error?

Many thanks.

ghost commented 5 years ago

anyone ?