I know there’s a lot of posts with the same that problem. I just spent at least 2 hours to read them and I tried everything I saw in the responses but it still doesn’t work. I don’t know what to do anymore. Can someone help me?
I use Xcode 4.2.1
I know there’s a lot of posts with the same that problem. I just
Share
This problem occurs regularly for me, and the solution was always to kill the process named
SimulatorBridge.And to simplify the solution you can add a custom ‘behavior’ in Xcode to do the task by following these steps:
Make a shell script file with this command:
Save it in
~/Library/Developer/Xcode/UserData/Behaviors/asKillSimulatorBridge.sh.Now, you can run this behavior whenever Xcode hangs while trying to attach to your app, and you can even have a keyboard shortcut to run it.
Hope this helps someone.