Updated Branches: refs/heads/frameworks c19d4d66a -> 6b6931ec0
Logic fix for framework-install. Project: http://git-wip-us.apache.org/repos/asf/cordova-plugman/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugman/commit/6b6931ec Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugman/tree/6b6931ec Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugman/diff/6b6931ec Branch: refs/heads/frameworks Commit: 6b6931ec0508f3c889130364ad6c5632964e373b Parents: c19d4d6 Author: Fil Maj <[email protected]> Authored: Mon Jul 29 20:34:15 2013 -0700 Committer: Fil Maj <[email protected]> Committed: Mon Jul 29 20:34:15 2013 -0700 ---------------------------------------------------------------------- src/util/config-changes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugman/blob/6b6931ec/src/util/config-changes.js ---------------------------------------------------------------------- diff --git a/src/util/config-changes.js b/src/util/config-changes.js index 558f80d..25b4c1f 100644 --- a/src/util/config-changes.js +++ b/src/util/config-changes.js @@ -339,7 +339,7 @@ module.exports = { if (is_framework) { var src = selector; // 2nd-level leaves are src path // Only add the framework if it's not a cordova-ios core framework - if (keep_these_frameworks.indexOf(src) > -1) { + if (keep_these_frameworks.indexOf(src) == -1) { // xml_child in this case is whether the framework should use weak or not var opt = {weak: (xml_child != 'true' ? false : true)}; pbxproj.xcode.addFramework(src, opt);
