I had the same problem, and I noticed that Xcode suddenly created several build directories in different places.
So, I went to create the settings and looked at all the places of the assembly, exited Xcode, deleted all the directories of the assembly sites, launched Xcode, cleaned the assembly, returned again, and this fixed the problem.
Not sure what caused it in 1st place :)
source share