I wrote a little code here:
https://github.com/CTMacUser/EmbeddedIntegerCollection
- I experimented adding a GitHub Action, for CD/CI, and it reports an error. It seems that the (default) action for SPM tests doesn't support package files marked as Swift 6.0. I don't know how to fix this, and don't know whether the fix is to upgrade the default test running script, or to lower the package file to something in 5.x. (The package uses the new Swift Testing system.)
- Despite this, I tried adding the URL for the first project to the package file for my second project.
dependencies: [
.package(
url: "https://github.com/CTMacUser/EmbeddedIntegerCollection.git",
from: "0.1.0"),
],
I get a warning of:
dependency 'embeddedintegercollection' is not used by any target
And in the new type's file, adding a line of "import EmbeddedIntegerCollection
" gives me an error of "No such module 'EmbeddedIntegerCollection'
", with a fix-it of searching for package collections.
What am I missing?