Github user shazron commented on the issue:

    https://github.com/apache/cordova-ios/pull/278
  
    It's not a failure in node-xcode. Therefore, the tests are incorrect 
somehow.
    
    Tested using:
    ```
    #!/usr/bin/env node
    
    var xcode = require('xcode'),
        fs = require('fs'),
        projectPath = 
'cordova-ios/tests/spec/unit/fixtures/ios-config-xml/SampleApp.xcodeproj/project.pbxproj',
        projectPath2 = 
'cordova-ios/tests/spec/unit/fixtures/ios-config-xml/SampleApp.xcodeproj/project-written.pbxproj',
        myProj = xcode.project(projectPath);
    
    // parsing is async, in a different process
    myProj.parse(function (err) {
        myProj.updateBuildProperty('IPHONEOS_DEPLOYMENT_TARGET', '8.0');
    
        fs.writeFileSync(projectPath2, myProj.writeSync());
        console.log('new project written');
    });
    ```


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@cordova.apache.org
For additional commands, e-mail: dev-h...@cordova.apache.org

Reply via email to