commit | 62e73169938be91a8cdbe2c1f543836194f094b3 | [log] [tgz] |
---|---|---|
author | alunny <alunny@gmail.com> | Thu Oct 18 13:56:49 2012 -0700 |
committer | alunny <alunny@gmail.com> | Thu Oct 18 13:56:49 2012 -0700 |
tree | 664c3169a2aa207e794a05b7a2ca264de40afe58 | |
parent | 111392ac485fa090565d89f9dc476ce84cab8730 [diff] |
[project] addStaticLibrary - support for .a files a first pass - I'm not entirely happy with the LIBRARY_SEARCH_PATHS stuff, but I'm gonna start testing it out with pluginstall to move forward
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