I'm working on a Cocoa/ObjC project at the moment, and I wanted to start with some unit tests. I looked around for a test framework (there are two or three available for ObjC), and finally settled on testkit, which is a pretty small, clean and full-featured port of JUnit (without any extra cruft).
When testkit installs, it tries to install templates for creating projects in PowerBuilder/XCode, along with a system-wide framework.
The problem is, XCode doesn't pick up these ProjectBuilder templates. It looks like it should find them (in /Library/ProjectBuilder Extras/), but XCode doesn't. CamelBones drops something in there that is found.
Hm.
So I installed the Sen:te test frameworks, which also installed bits in /Library/ProjectBuilder Extras/, but they weren't found, either. Really perplexing...
The XCode documentation isn't very enlightening here. In fact, it says nothing on how to create a new template, how to save a project as a template, or what tools exist (if any) for creating templates. Looks like if you want to create a template for xcode, you just have to guess.
Eventually, I stumbled across a magic tidbit on the PyObjC mail archives. Local extensions for XCode are installed in ~/Library/Application Support/Apple/Developer Tools/. I moved the directories that the testkit install put in /Library/ProjectBuilder Extras/ and into ~/Library/..., and lo and behold, it works like a charm!
Next step: making sure these templates create working projects...