`` you don't have permission to view it `` error

Whenever I try to run my app in Xcode 10.1 I am getting the error:
The file “MyApp.app” couldn’t be opened because you don’t have permission to view it.
This error appears no matter what simulator or device I target.
Has anyone else run into this problem and found a solution?