How to create an example app for your SPM package
When working on a Swift package, it may be quite difficult to test that the code we are writing works properly.
Beyond writing unit tests, an easy way to test a package would be to configure a demo project right inside the repository. This has non-ne...
kaww.hashnode.dev3 min read
Tom Brodhurst-Hill
Just before you wrote "The SPM package is now imported", I think you meant to say "Click the
Add Packagebutton`. But doing so (in Xcode 15.4), Xcode complains that "The selected package cannot be a direct ancestor of the project"