cocos2d/CocosBuilder — pull request #29 by gwynne (2012-04-30 10:03:13+00:00)
Title: Commandline publishing tool

While working on a new project, I thought it would be convenient to be able to add `.ccb` files directly in Xcode and compile them to `.ccbi`s as a build rule, so I added a target which builds a `ccbpublish` tool using the export plugins from the main app. It relies on Launch Services to find the app and its plugins.

Known issues:
* It doesn't honor the flatten paths setting
* The commandline argument parser is very primitive (probably should've used `getopt`)
* The app's bundle ID is hardcoded.
* The default plugin if none is specified should probably be the first one loaded instead of hardcoding `ccbi`
* Confusingly, unlike everything else, it uses ARC (but no weak references, so will work on 10.6)