Xcode freezes and shows Appdelegate page every time I try to run stimulator

I'm following the apple developer guide step by step, trying to get into xcode. But when try to run anything with a button function, everything freezes for a bit and I get the following line in Appdelegate in red:


class AppDelegate: UIResponder, UIApplicationDelegate {


How do I fix this?

Xcode freezes and shows Appdelegate page every time I try to run stimulator
 
 
Q