Thanks @randomize66
I'm getting the same error in one of my projects.
A workaround for me is to:
Open a different project
File - Open Recent
Clean build folder
Close Xcode
Delete DerivedData content for the project
Open the project as usual
Clean build folder once again
Go!