Quantcast
Viewing all articles
Browse latest Browse all 166

Reference to local module and error 'No such module'

Using Xcode 14.3.1

swift-driver version: 1.75.2 Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100)

A locally stored package is produced and compiles.
The locally stored package is imported to a Xcode project.
The package (module) shows up in 'Packages' of the project, all files visible
The files shared by the module work well and the project compiles when they are stored in the project's 'Models' group.

However, the compiler throws an error 'No such module ModuleName' at 'import ModuleName' when the package has been added through 'File/Add Packages/Add Local'.

I've read the documentation but can't figure what I am doing wrong.

14 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 166

Trending Articles