After clearing the files in the DriveData folder, can you build again and check?
Path is something like this
/Users/YOUR-USER-NAME/Library/Developer/Xcode/DerivedData/