The solution to this is to apparently select every one of the non-existent source files from your project navigator menu, press the delete key then select "Remove references only". Then, open Finder with the folder your code is in, select all files and subfolders in there and drag it into the same folder in the Xcode project navigator to attach them as source files.
Thanks Apple, very cool.