Today in things I learned during my ongoing struggle with the iOS developer ecosystem: Xcode has no concept of "files in this specific folder are the Swift code of this package", which means every individual file must be manually added as a source in the relevant build phase.

Conversely, this means that if you were to rely on the command line to do any bulk renames of these files, say to replace a prefix, your Xcode build will break completely.