fixed failing tests and added test for adding/removing from lib search paths.
1 file changed
tree: 8ac27f7a99665dfc9e9c6c73677320bf7f9cfab2
  1. lib/
  2. test/
  3. .gitignore
  4. AUTHORS
  5. index.js
  6. LICENSE
  7. Makefile
  8. package.json
  9. README.md
README.md

node-xcode

parser/toolkit for xcodeproj project files

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

Example

// API is a bit wonky right now
var xcode = require('xcode'),
    fs = require('fs'),
    projectPath = 'myproject.xcodeproj/project.pbxproj',
    myProj = xcode.project(projectPath);

// parsing is async, in a different process
myProj.parse(function (err) {
    myProj.addHeaderFile('foo.h');
    myProj.addSourceFile('foo.m');
    myProj.addFramework('FooKit.framework');
    
    fs.writeFileSync(projectPath, myProj.writeSync());
    console.log('new project written');
});

License

MIT