twostraws / ControlRoom

A macOS app to control the Xcode Simulator.
MIT License
5.77k stars 304 forks source link

Setting time is not working for Apple Watch simulator #67

Open jsplashindia opened 4 years ago

jsplashindia commented 4 years ago

Setting a custom time for the Apple Watch simulator is not working.

Screenshot 2020-02-29 at 10 32 20 AM
AustinConlon commented 4 years ago

I think this is because simctl can't, when I tried for example running xcrun simctl status_bar booted override --time "10:09 AM" with only an Apple Watch simulator running then nothing happened. I filed this in Feedback Assistant (FB7671440), if you can reproduce it on your end too can you duplication the submission so that it rises on Apple's priority list?

edorphy commented 1 year ago

It looks like this also broke with Xcode Version 14.1 (14B47b) for iPhone simulators too.

My duplicate feedback for watchOS: FB11859744 - Simulator: watchOS simulator not responding to simctl set time

New for iOS: FB11859751 - Simulator: iOS simulator not responding to simctl set time

ghost commented 1 year ago

As a workaround launch the simulator with the following environment variable: SIMCTL_CHILD_SIMULATOR_RUNTIME_VERSION=16.0 xcrun simctl boot "iPhone 14 Pro"

More information here, thanks to @saagarjha.