[ 
https://issues.apache.org/jira/browse/CB-6711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14011153#comment-14011153
 ] 

ASF GitHub Bot commented on CB-6711:
------------------------------------

Github user kamrik commented on a diff in the pull request:

    https://github.com/apache/cordova-lib/pull/15#discussion_r13134502
  
    --- 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 --
    
    I switched to directly using xcode here instead of parseProjectFile() here 
several months ago. The reason was speed. parseProjectFile() has a pretty slow 
blob call as one of the first lines (order of 50-100ms).
    
    Is there any functional reason you want to use parseProjectFile here other 
than elegance? 


> Adding multiple plugins for iOS is broken
> -----------------------------------------
>
>                 Key: CB-6711
>                 URL: https://issues.apache.org/jira/browse/CB-6711
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugman
>            Reporter: Martin Bektchiev
>            Assignee: Martin Bektchiev
>
> When adding multiple plugins for iOS projects framework config changes get 
> overwritten.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to