Every single time I try to launch the simulator I get this:
Cold not attach to pid : "12345"
Domain: IDEDebugSessionErrorDomain
Code: 3
Failure Reason: Error 1
--
Error 1
Domain: IDEDebugSessionErrorDomain
Code: 3
--
I'd REALLY like to be able to debug. Can anyone offer some help?
On google, I found suggestions to build it again, to restart xcode, to restart Xcode and rebuild, to reboot the computer, to set to release instead of debug. NONE of thelse things helped in any way. 😟
-Verxion
Also happens on a brand new M1 Max with the latest stable OS (12.12.1) and XCode (13.2.1) when creating a completely new Watch App.
happening for m1 pro and debugging a desktop app with xcode 12.3. I have tried all solutions mentioned in this thread but to no avail. I am able to to atttach it after edit Scheme -> Run -> Debug executable but i have the need to debug the app. any suggestions are welcome.