Received this error message during GenerateDSYMFile phase for an iOS app:
/Users/name/Library/Developer/Xcode/DerivedData/ModuleCache/HASH/FrameworkNa
Deleted:
~/Library/Developer/Xcode/DerivedData
And was able to build again.