[xcode] Problems after upgrading to Xcode 10: Build input file cannot be found

open the right navigation pane where your project files exist OR JSUT click on cmd + 1 Then search for "Recovered References" Folder open it all red files (delete them) then everything will work so fine .