Could not attach to pid : “####” unable to attach

S.Sohi picture S.Sohi · Jun 2, 2016 · Viewed 37.8k times · Source

I just updated to Xcode 7.3.1 and my project crashes with the same error after the launch screen displays on the iOS simulator.

The error is:

"Could not attach to pid : “1712” unable to attach"

Then I tried running another project and I got:

"Could not attach to pid : “2025” unable to attach"

Any solutions?

Answer

Himanshu picture Himanshu · Jun 2, 2016

Resetting the content and settings in the simulator worked for me. This is available on the iOS Simulator: Hardware -> Erase all Content and Settings