twostraws / ControlRoom

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

Work around the status_bar issues on simulators running 16.1+. #165

Closed yilei closed 1 year ago

yilei commented 1 year ago

Since 16.1, xcrun simctl status_bar commands have no effect. Thanks to @saagarjha's info here we have a workaround by setting the environment variable SIMCTL_CHILD_SIMULATOR_RUNTIME_VERSION=16.0 when booting the device: https://federated.saagarjha.com/notice/AUwNsSsOOCWFc8qCvY

futuretap commented 1 year ago

Thanks, works great. @twostraws, please pull.

twostraws commented 1 year ago

Thank you! This will take a bit of thinking on my end for reasons that will become known in about 30 minutes, but I'll merge it because this is a great change – thank you! 🙌