xcodestatusbarsimulatorxcrunsimctl

xcrun simctl status_bar not working in xcode 12


I have just upgraded my Xcode to 12 beta. I have tried to override the status bar on the simulator using this command:

xcrun simctl status_bar  52B135BF-F549-4684-A959-914499AB3296  override --time '9:41' --batteryState charged --batteryLevel 100;

This command works on the previous version. However, it doesn't work anymore. Does anyone know how to fix this?


Solution

  • From Xcode 12b3 Release Notes: "simctl status bar overrides don’t work properly on simulated devices running iOS or iPadOS 13.6 or earlier. (63958080)"

    Just got burned by this myself.