commit | 2d6a0eeb759c16107228492b5b27bd9f6f20d097 | [log] [tgz] |
---|---|---|
author | alunny <alunny@gmail.com> | Thu Oct 18 16:04:41 2012 -0700 |
committer | alunny <alunny@gmail.com> | Thu Oct 18 16:04:41 2012 -0700 |
tree | 07160aa6be09e9973e6c3f497c79b8c8da78176e | |
parent | 65a0c402bbbbca091168e22f4521e0d7ebc790fe [diff] |
0.5.5
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