首先确定template所在的目录。
通过“显示包内容”进入到xcode目录下
/Contents/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Templates/Project Templates/
这个目录下包含了
/Application
/Framework & Library
/iOS Reference Counting.xctemplate
/iPhone Base.xctemplate
/Other
我们可以简单的修改Application下的Single View Application。
首先制作该application的副本,之后修改TemplateInfo.plist中的identifier。之后就可以在xcode中创建自定义的application.
参考链接
http://www.cocoachina.com/macdev/cocoa/2010/0122/361.html