I went to Tools, clicked Options, and unchecked "Enable My Code Only" under General in the Debugging column, and now I can run it.
I checked the "Enable My Code Only" checkbox again as a test, and confirmed that I could run the program.
Maybe the options file was corrupted and prevented it from starting.
Thanks for your valuable time.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: