-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Hi! I've used custom templates I generated for a while now (at least a year or two), but just got a new computer and didn't carry over what I generated. When I went through to regenerate templates, I noticed that the script isn't able to make available a handful of templates that we generate.
I'm specifically concerned with the 'Cocoa Touch Class' option when generating a new file, but the others might be useful too. I attempted to track down the root cause, but didn't see anything that might be affecting this. The templates are generated just fine, it just seems that Xcode 7.2.1 doesn't seem to want to show the template, probably due to plist issues? The 'Cocoa Touch Class' plist is so minimal, that I can't think of what could be going wrong.
Directory listings:
$ ls /Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File\ Templates/Source/
C File.xctemplate
C++ File.xctemplate
Cocoa Class.xctemplate
Header File.xctemplate
Objective-C File.xctemplate
Objective-C new superclass.xctemplate
Playground Page.xctemplate
Playground with Platform Choice.xctemplate
Playground.xctemplate
Sources Folder Swift File.xctemplate
Swift File.xctemplate
UI Test Case Class.xctemplate
Unit Test Case Class.xctemplate
$ ls ~/Library/Developer/Xcode/Templates/File\ Templates/Custom/
C File.xctemplate
C++ File.xctemplate
Cocoa Class.xctemplate
Header File.xctemplate
Objective-C File.xctemplate
Objective-C new superclass.xctemplate
Playground Page.xctemplate
Playground with Platform Choice.xctemplate
Playground.xctemplate
Sources Folder Swift File.xctemplate
Swift File.xctemplate
UI Test Case Class.xctemplate
Unit Test Case Class.xctemplate
XCode Screenshots:

