With Xcode 9.3 (beta), I'm facing an issue with Xcode tool, while I try to build/run the application (project) for the first time, after Xcode launch/start.
Several times, it prevents project build with the message on status bar:
Waiting for iPhone-X to start
While my simulator is already started and working (There is no any activity, going on, in the simulator).
Here is reference snapshot:
As a temporary solution, I force close Xcode (9.3) and start again.
Is there anyone facing the same issue with Xcode 9.3 beta?
Update: Same issue in Xcode 9.3-Beta 2 also.
For iOS, tvOS, and watchOS apps, you can choose a simulated device, under [Platform] Simulators, from the run destination menu next to the scheme menu in the toolbar. To add additional simulators of a product family running older versions of the operating system, choose Add Additional Simulators.
To delete individual, available, simulators it's easier to do so through Xcode. Go to Window > Devices and simulators, then select the Simulators tab. You can right-click on any simulator and select 'delete' to get rid of it.
Here is How I fixed:
Due to quirks (most likely Simulator bugs) in the Simulator launching on both Xcode 8 and 9, there is no common code to have it launch successfully on both Xcodes. Through experimenting, I have found these to be most reliable:
killall Simulator
xcrun simctl boot <device_id>
open `xcode-select -p`/Applications/Simulator.app
killall Simulator
xcrun simctl shutdown booted
xcrun instruments -w <device_id>
refer: [iOS 11][Xcode 9] launch, install, start hangs Simulator #209
What (most of the time) works for me, is first launch it on a device. Kill it and then run it on a simulator.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With