Wednesday, October 21, 2009

Xcode templates messed up



I ran into a weird problem with XCode. I just upgraded to Snow Leopard at work, so I installed XCode as well. The one at home is fine, the one at work has a bug related to templates. Both are the same version.

When I try to make a new Cocoa Application project (not document-based),



I get a project folder that contains directories with templates for a number of different types of project,



and the Application project template files in the main folder are just that, templates. There is no AppDelegate object in the nib, and no AppDelegate files in the project... Weird, huh?


2 comments:

Martin said...

Yep - very weird, I had the same issue and don't yet know the cause.

Pruning out the unwanted folders and files seems to have fixed it though. I've posted a bit more info
here.

graham said...

Hi. I had the same issue too. Having read Martin's post I wrote up my findings: Fixing the Xcode Project Templates

Cheers,
Graham