After four years, the problem still exists in Xcode 12.4 (12D4e). Xcode creates a directory named emplate and then puts the new file inside the directory and never add it to the project.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: