I've run into this quite a bit, and it's super annoying as, once this
message is shown, it seems Xcode can't run the project in the simulator
until you restart Xcode.
What I've found seems to help is always hitting *command-period* before
tapping *command-r*.
ymmv