commit | 915ef358e37c45e62a4199531b09965f57600ed9 | [log] [tgz] |
---|---|---|
author | Fil Maj <maj.fil@gmail.com> | Tue May 21 12:10:23 2013 -0700 |
committer | Fil Maj <maj.fil@gmail.com> | Tue May 21 12:10:23 2013 -0700 |
tree | b32c239c4c9152fdecc22898a77be035aff03d6b | |
parent | 3d20386ee206972be6154bdbd569b233d952dabe [diff] |
adding support for adding/removing from library search paths
parser/toolkit for xcodeproj project files
Allows you to edit xcodeproject files and write them back out.
// 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'); });
MIT