Swift Package Manager Project Don't Generate Filename and Boilerplates

In a regular Xcode project app, when I right click to create a new file, it will offer me a template (eg. SwiftUI/Swift/Storyboard) to choose from. I choose a template, click on next, and the prompt will allow me to input the filename. After that, Xcode automatically generates the file with the filename given, the header filename, and the struct name in case of SwiftUI file.

However, in Swift Package Manager projects, right click to create new file don't give me the chance to input a filename and creates a default Swift or SwiftUI file with placeholder names like file.swift.

Is this a known issue or bug? Why this behavior?

Terms of Service

Privacy Policy

Cookie Policy