Official documentation for creating custom file templates in Xcode

Hello,

Does anyone know where I can find the official Apple documentation for creating custom file templates in Xcode?

For clarity, I mean the documentation for adding to the "File from Template..." wizard that's driven by .xctemplate folders in ~/Library/Developer/Xcode/Templates/

There are some blog posts about it online, and I can inspect the templates built into Xcode, but I can't seem to find the official documentation anywhere.

Thanks!

Answered by DTS Engineer in 826168022

Xcode does not support creating your own project templates, so that's why you haven't found any documentation. If you'd like Xcode to officially add support for creating your own templates, please create an enhancement request, and post the FB number here once you do.

— Ed Ford,  DTS Engineer

Xcode does not support creating your own project templates, so that's why you haven't found any documentation. If you'd like Xcode to officially add support for creating your own templates, please create an enhancement request, and post the FB number here once you do.

— Ed Ford,  DTS Engineer

Official documentation for creating custom file templates in Xcode
 
 
Q