I had the same problem. I couldn’t determine exactly what exactly caused this, but I realized that the same code would build find on a different Xcode 6 installation on a different machine.
I solved it by deleting my cached assemblies, etc. in ~/Library/Developer/Xcode , and Xcode is not running. "Clean" from within Xcode did not.
You should find that when you restart Xcode, your application will work fine.
source share