It happens to me only in the testing target and everything works fine in the main project
Post
Replies
Boosts
Views
Activity
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.