Swift Package Manager + example apps, can you do it?

I am trying to figure out how the module and the example gets put into the same GitHub repo.

So is the idea to first make the package (File->New->Swift Package) and then go back in to make a project (File->New->Project) and put it in the same folder and then make the project dependent on the package (File->Swift Packages->Add Package Dependency)?

I spent my Apple Developer Incidents on getting that recipe right, and I maintain the file. So I am definitely looking to make this perfect so others can use it.

1 Like