Getting ‘no such module’ error when importing a Swift Package Manager dependency

After adding a library (FASwiftUI in my case) through Swift Package Manager I had to add it to

Project Settings -> My Target ->
General -> Frameworks, Libraries, and Embedded Content

to be visible in the import statement.

I did not add any scripts for it to work.

enter image description here

Leave a Comment