Package dependency in own package

Hi All,

I create a Swift Package (Xcode 14.3) and add a package dependency (https://github.com/stephencelis/SQLite.swift) by copying the autogenerated dependency clause into my "Package.swift" file. The "package.resolved" file is created, all good.

Somehow I cannot use the package (SQLite) from my code because the "import SQLite" is not found. This happens from an empty package as well.

How can I use the dependent package in my own package?

Sorry for the seemingly simple question but despite a lot of googleing and fiddling with targets/products, I don't get this to work. UI options in Xcode to add targets etc. exist only for apps, not for packages.

Any hints what I am doing wrong here greatly appreciated.

Cheers Florian

Package dependency in own package
 
 
Q