Custom Xcode 5 Project Templates only half working

爷,独闯天下 提交于 2019-12-05 02:35:52

问题


Ok so I got the custom file templates working when I add a new C++ file to the project, but when I create a new project, the comment section on the template is still at it's default.

I feel like I have tried everything, and need some help.

Im using the "Command Line Tool" template for my C++ projects.

When I made my custom file template I just edited

/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/File Templates/C and C++/C++ Class.xctemplate/___FILEBASENAME___ .cpp

When I get to the "Command Line Tool" project folder I'm not sure exactly what I am supposed to do to get it to work. I edited the TemplateInfo.plist to add #include <iomanip> and that worked fine but I see no where to edit the comments. The location of that file is at

/Applications/Xcode.app/Contents/Developer/Library/Xcode/Templates/Project Templates/Mac/Application/Command Line Tool.xctemplate/TemplateInfo.plist

I've been stuck on this for a few hours now so any help would be a life saver! Thanks for the help!

来源:https://stackoverflow.com/questions/19473701/custom-xcode-5-project-templates-only-half-working

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!