diff --git a/src/utils/save-cordova-xml.js b/src/utils/save-cordova-xml.js
index <HASH>..<HASH> 100644
--- a/src/utils/save-cordova-xml.js
+++ b/src/utils/save-cordova-xml.js
@@ -15,6 +15,9 @@ const parseXML = function(xmlPath) {
   return new RSVP.Promise((resolve, reject) => {
     const contents = fs.readFileSync(xmlPath, 'utf8');
     const parser = new xml2js.Parser();
+
+    if (contents === '') reject('File is empty');
+
     parser.parseString(contents, function (err, result) {
       if (err) reject(err);
       if (result) resolve(result);
fix(save-cordova-xml): Update test to guard against config.xml being empty