feat: support for 'alwaysOutOfDate' PBX Shell Script property (#173)

* Added support for 'alwaysOutOfDate' PBX Shell Script property
* feat(alwaysOutOfDate): any truthy value to hard set to 1

---------

Co-authored-by: Marco Saia <marco.saia@datadoghq.com>
2 files changed
tree: c4372c8bd615e4a125ee75ade4f37568b3283e1f
  1. .asf-release/
  2. .github/
  3. bin/
  4. lib/
  5. test/
  6. .asf.yaml
  7. .gitattributes
  8. .gitignore
  9. .npmignore
  10. .npmrc
  11. .rat-excludes
  12. AUTHORS
  13. CONTRIBUTING.md
  14. DEVELOPMENT.md
  15. eslint.config.js
  16. index.js
  17. licence_checker.yml
  18. LICENSE
  19. NOTICE
  20. package-lock.json
  21. package.json
  22. README.md
  23. RELEASENOTES.md
README.md

cordova-node-xcode

npm - Latest GitHub

GitHub - Node Workflow GitHub - Release Audit Workflow Code Coverage

Parser utility for xcodeproj project files

Allows you to edit xcodeproject files and write them back out.

based on donated code from alunny / node-xcode

Example

const fs = require('node:fs');
const xcode = require('xcode');

// Path to the Xcode project's project.pbxproj file.
const projectPath = 'myproject.xcodeproj/project.pbxproj';
// Create a PBXProject instance for the project.
const myProj = xcode.project(projectPath);

// Parse the project file asynchronously before making changes.
myProj.parse(function (err) {
    myProj.addHeaderFile('foo.h');
    myProj.addSourceFile('foo.m');
    myProj.addFramework('FooKit.framework');
   
    // Write the updated project back to disk.
    fs.writeFileSync(projectPath, myProj.writeSync());

    console.log('New project written');
});