In xcode 4.2, sometimes when you\'re going to run your ios proj on simulator, the status windows says \"Attaching to myapp\", and just gets stuck there... until you cancel. Now,
Even if the app is not attaching after cleaning the project, changing the app name, restart the by resetting the simulator, and if you are using LLDB compiler, it is because the LLDB compiler is not able to connect to the local debug server in order to solve this, take a look at this
Why does the LLDB Debugger constantly fail to attach?
This really solves your problem!