commit | 5884dec1ec7138c5ff8d8980469a5d5861a9f7d5 | [log] [tgz] |
---|---|---|
author | Brett Rudd <brettrudd@gmail.com> | Tue Oct 30 11:16:14 2012 -0700 |
committer | Brett Rudd <brettrudd@gmail.com> | Tue Oct 30 11:16:14 2012 -0700 |
tree | b0ad992103539123ca0050a10945fc180726af6f | |
parent | 2d6a0eeb759c16107228492b5b27bd9f6f20d097 [diff] |
[pbxFile] implement option for weak linked frameworks
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