So I tried restarting from the backup of my last working version. I recompiled module Swift stuff and this time my main project was able to compile! Yay! (Of course right after I post here). I have no idea what is different about this older project file than a new one.
Topic:
Programming Languages
SubTopic:
Swift