Update on Xcode Templates
Today I got a mail regarding Xcode Templates and it made me look into it again. I was surprised that Apple changed the way Xcode integrates into the system now. Until 10.5 everything was stored in /Library/, but as of 10.5 Xcode uses the folder /Developer/Library/. Everything related to Xcode is there (especially in the Xcode subfolder): the frameworks, plugins, templates… all of it. The plugins that were installed in 10.4 will have to be moved there I guess (got no time to try out if BSInspectors work yet).
So as of 10.5, install custom project templates in /Developer/Library/Xcode/Project Templates/ 🙂
November 13th, 2007 at 21:55
One thing I thought to point out was that with XCode 3, you are able to install the XCode tools to places other than /Developer , so that might affect this as well.
November 14th, 2007 at 7:42
See the Xcode 3.0 release notes for an explanation of Xcode’s multiple-version coexistence features, where the locations for things like custom templates were moved to, and why they were moved. Do not install custom templates in /Developer or wherever you have Xcode itself installed – leave that for Xcode itself.
Instead, install custom templates in “Library/Application Support/Developer/Shared/Xcode/Project Templates” within either the /or ~ domain, depending on whether you want to make them available for all users or just yourself. You can also replace “Shared” with a version number such as “2.5” or “3.0” if you want the template to be found only by specific versions of Xcode.
— Chris, who works on Xcode but is speaking for himself
November 14th, 2007 at 9:25
Hi Chris,
thanks a lot for the information!!
Karsten