Xcode Error: 'No such module: ...' and how to fix it
Problem
As I’m pretty new to Xcode development, I was not sure what to do after I’ve added a package via File>Add Package Dependencies.
After running the next build, the error message ‘No such module: …’ arose.
Solution
You have to add the package to the build phases like this:

To get to this view, open your xcodeproj file, click onto the relevant target and then go into Build Phases. Here you can add your package under ‘Link Binary With Libraries’.
You Might Also Like
Ctrl+V: Stuff Worth Sharing #008
This week’s episode of SWS contains a video of Enes Yilmazer touring a mega mansion, a podcast of The Pragmatic Engineer about Notion’s journey to going native, an article of James Stanier on being in the details and an article on how Devin Davies received an Apple Award for his app Crouton.
SWS Snippet #0040: 9 years of Apple text editor solo dev by Mihhail Lapushkin
This great post by Mihhail Lapushkin describes his journey of creating paper, a minimalist writing app for iOS and macOS.
Add Test Files To Xcode 26 Simulator
How to add a file for testing purposes directly into the simulator of Apple Xcode 26.