Xcode not creating readme, documentation, licenses files/folders for Swift Package

Looking at some tutorials on how to create a swift package (for iOS) they all start by creating a package within Xcode and then showing what files Xcode auto-generated.

However with Xcode 15.1 there's lots of stuff mentioned in tutorials which isn't getting created, for example the readme file, the licenses file, a documentation directory and contents.

Why is it not creating them? How to add them manually then? Because File/New doesn't have the option to create a Readme.md file for example.

Replies

You can create the Readme file. File | new file | select empty in the other section Name the file as desired.