commit | f689c61c045794c4df14801f81c8f6645203857a | [log] [tgz] |
---|---|---|
author | alunny <alunny@gmail.com> | Thu Oct 18 13:58:05 2012 -0700 |
committer | alunny <alunny@gmail.com> | Thu Oct 18 13:58:05 2012 -0700 |
tree | a3eb3bb53be3a5c68908e514cf1d6dcd7c61bdd3 | |
parent | 62e73169938be91a8cdbe2c1f543836194f094b3 [diff] |
0.5.2
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