cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From purplecabb...@apache.org
Subject cordova-lib git commit: CB-8914 when project is renamed, remove userdata otherwise project is un-usable in xcode
Date Thu, 01 Oct 2015 22:05:19 GMT
Repository: cordova-lib
Updated Branches:
  refs/heads/master 0c5bed6dd -> d10c3eb6a


CB-8914 when project is renamed, remove userdata otherwise project is un-usable in xcode


Project: http://git-wip-us.apache.org/repos/asf/cordova-lib/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-lib/commit/d10c3eb6
Tree: http://git-wip-us.apache.org/repos/asf/cordova-lib/tree/d10c3eb6
Diff: http://git-wip-us.apache.org/repos/asf/cordova-lib/diff/d10c3eb6

Branch: refs/heads/master
Commit: d10c3eb6aa805a7507f059fe7b639b68564d0df6
Parents: 0c5bed6
Author: Jesse MacFadyen <purplecabbage@gmail.com>
Authored: Thu Oct 1 15:05:12 2015 -0700
Committer: Jesse MacFadyen <purplecabbage@gmail.com>
Committed: Thu Oct 1 15:05:12 2015 -0700

----------------------------------------------------------------------
 cordova-lib/src/cordova/metadata/ios_parser.js | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-lib/blob/d10c3eb6/cordova-lib/src/cordova/metadata/ios_parser.js
----------------------------------------------------------------------
diff --git a/cordova-lib/src/cordova/metadata/ios_parser.js b/cordova-lib/src/cordova/metadata/ios_parser.js
index dd1cc56..a5148b4 100644
--- a/cordova-lib/src/cordova/metadata/ios_parser.js
+++ b/cordova-lib/src/cordova/metadata/ios_parser.js
@@ -211,6 +211,8 @@ ios_parser.prototype.update_from_config = function(config) {
         // Move the xcodeproj and other name-based dirs over.
         shell.mv(path.join(parser.cordovaproj, parser.originalName + '-Info.plist'), path.join(parser.cordovaproj,
name + '-Info.plist'));
         shell.mv(path.join(parser.cordovaproj, parser.originalName + '-Prefix.pch'), path.join(parser.cordovaproj,
name + '-Prefix.pch'));
+        // CB-8914 remove userdata otherwise project is un-usable in xcode 
+        shell.rm('-rf',path.join(parser.xcodeproj,'xcuserdata/'));
         shell.mv(parser.xcodeproj, path.join(parser.path, name + '.xcodeproj'));
         shell.mv(parser.cordovaproj, path.join(parser.path, name));
 


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org


Mime
View raw message