For XCode 10 Beta: Problem occurs when I have two workspaces open that share the same project directories. Solution was
Short version
- Shut down all but one workspaces
- exit XCode and reopen XCode
- XCode > Product > Clean Build Folder
Longer version
- Shut down all but one workspace
- XCode > Preferences > Locations > Derived Data > goto directory ~/Library/Developer/Xcode/DerivedData
- Clear out subdirectories from DerivedData
- exit XCode and reopen XCode
- XCode > Product > Clean Build Folder
Thanks to @aferriss answer for the clue.