I have just upgraded to the latest Beta version of XCode and Swift but after using the converter my app project now has over 200 build time yellow errors all stating /\"projectD
I had a rogue .git folder in a parent folder that didn't 'go' to anything-
verify under "Source Control" menu that all of your "Working Copies" actually connect to a real source control folder
NONE of these 'solutions' worked for me, except this removing rogue .git folder
I solved this problem by removing the .git directory into "yourProject"/Pods. And it is possible to remove the .git directory in the main directory of the "yourProject".
I think I've resolved the issue now by deleting all instances of my DerivedData folder and following crashoverride777's instructions. I also had to change my DerivedData option from relative to Custom which can be found in Xcode > Preferences > Locations Tab.