cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From shazron <...@git.apache.org>
Subject [GitHub] cordova-ios issue #278: CB-11243 - Added failing tests
Date Sat, 12 Nov 2016 01:48:50 GMT
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

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


Mime
View raw message