Hanged on Attatching to myappname

When I was running my application on slmulator,this error happeed.


Timed out waiting for Simulator.app to become ready.

Domain: DTiPhoneSimulatorErrorDomain

Code: 6

User Info: {

applicationPID = 10682;

}

There is a bug in Xcode 11.3 and earlier which could manifest this way if you have Simulator.app running from another Xcode. There is a small race window in which this could happen. That was fixed in Xcode 11.3.1.


but...


There is a bug in Xcode 11.3.1 and later (through Xcode 11.4.1 as of this comment) which manifests this way as well. To workaround the issue, you can click on Simulator.app in Dock after it launches (even if it is foreground). Alternatively, you can enable pasteboard synchronization in Simulator.app via 'Edit -> Automatically Sync Pasteboard'.

Hanged on Attatching to myappname
 
 
Q