Return-Path: X-Original-To: apmail-cordova-dev-archive@www.apache.org Delivered-To: apmail-cordova-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3FBBA101EB for ; Wed, 28 May 2014 14:49:10 +0000 (UTC) Received: (qmail 85728 invoked by uid 500); 28 May 2014 14:49:10 -0000 Delivered-To: apmail-cordova-dev-archive@cordova.apache.org Received: (qmail 85688 invoked by uid 500); 28 May 2014 14:49:10 -0000 Mailing-List: contact dev-help@cordova.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cordova.apache.org Delivered-To: mailing list dev@cordova.apache.org Received: (qmail 85680 invoked by uid 99); 28 May 2014 14:49:10 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 May 2014 14:49:10 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id B8C618C5681; Wed, 28 May 2014 14:49:09 +0000 (UTC) From: mbektchiev To: dev@cordova.apache.org Reply-To: dev@cordova.apache.org References: In-Reply-To: Subject: [GitHub] cordova-lib pull request: CB-6711: Use parseProjectFile when worki... Content-Type: text/plain Message-Id: <20140528144909.B8C618C5681@tyr.zones.apache.org> Date: Wed, 28 May 2014 14:49:09 +0000 (UTC) Github user mbektchiev commented on a diff in the pull request: https://github.com/apache/cordova-lib/pull/15#discussion_r13134717 --- Diff: cordova-lib/src/plugman/util/config-changes.js --- @@ -510,8 +509,7 @@ function ConfigFile_load() { self.data = xml_helpers.parseElementtreeSync(filepath); } else if (ext == '.pbxproj') { self.type = 'pbxproj'; - self.data = xcode.project(filepath); - self.data.parseSync(); + self.data = platforms.ios.parseProjectFile(self.project_dir).xcode; --- End diff -- Yes, the reason is that parseProjectFile() caches the parsed project and changes made without it get overwritten. This is observed when the --plugin option is specified more than once. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastructure@apache.org or file a JIRA ticket with INFRA. ---