You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by fi...@apache.org on 2013/05/21 21:12:52 UTC

git commit: 0.7.7. Fix for [CB-3431] adding stuff to xcodeproj library search paths

Updated Branches:
  refs/heads/master d32f3867f -> 0ecc53af2


0.7.7. Fix for [CB-3431] adding stuff to xcodeproj library search paths


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

Branch: refs/heads/master
Commit: 0ecc53af29b98837de53f02384e6e4043205d526
Parents: d32f386
Author: Fil Maj <ma...@gmail.com>
Authored: Tue May 21 12:12:46 2013 -0700
Committer: Fil Maj <ma...@gmail.com>
Committed: Tue May 21 12:12:46 2013 -0700

----------------------------------------------------------------------
 package.json         |    4 ++--
 src/platforms/ios.js |    2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/0ecc53af/package.json
----------------------------------------------------------------------
diff --git a/package.json b/package.json
index b92cb14..9f6cf59 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
   "author": "Andrew Lunny <al...@gmail.com>",
   "name": "plugman",
   "description": "install/uninstall Cordova plugins",
-  "version": "0.7.6",
+  "version": "0.7.7",
   "repository": {
     "type": "git",
     "url": "git://git-wip-us.apache.org/repos/asf/cordova-plugman.git"
@@ -15,7 +15,7 @@
     "nopt": "1.0.x",
     "glob": "3.2.x",
     "elementtree": "0.1.x",
-    "xcode": "0.6.x",
+    "xcode": "git+https://github.com/filmaj/node-xcode.git",
     "plist": "0.4.x",
     "bplist-parser": "0.0.x",
     "shelljs": "0.1.x",

http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/0ecc53af/src/platforms/ios.js
----------------------------------------------------------------------
diff --git a/src/platforms/ios.js b/src/platforms/ios.js
index 4163414..bc2c704 100644
--- a/src/platforms/ios.js
+++ b/src/platforms/ios.js
@@ -49,6 +49,7 @@ module.exports = {
                 var opt = { weak: (weak == undefined || weak == null || weak != 'true' ? false : true ) };
                 var project_relative = path.join(path.basename(project.xcode_path), project_ref);
                 project.xcode.addFramework(project_relative, opt);
+                project.xcode.addToLibrarySearchPaths({path:project_ref});
             }
             shell.mkdir('-p', targetDir);
             shell.cp(srcFile, destFile);
@@ -64,6 +65,7 @@ module.exports = {
             if (is_framework) {
                 var project_relative = path.join(path.basename(project.xcode_path), project_ref);
                 project.xcode.removeFramework(project_relative);
+                project.xcode.removeFromLibrarySearchPaths({path:project_ref});
             }
             shell.rm('-rf', destFile);