Skip to content
Advertisement

Tag: swift-package-manager

Swift – Can’t import packages

I have been trying out Swift on Ubuntu 20.10 and am having trouble importing packages. Swift is installed properly. I am always getting error: no such module, no matter which package I try. Here is my Package.swift (Embassy as an example): main.swift(under Sources/test) Answer In your Package.swift file you are declaring Embassy as a dependency, but you are not referencing

Advertisement