Search code examples
swiftxcodeios-simulatorxcode12.5

How to change Record Screen shortcut key (Command + R) in Xcode simulator?


in the Xcode 12.5, apple has released a new feature that we can record simulator screen with easy shortcut key Command+R.

but in the switch between Simulator and Xcode to run and build project, because when we want build project and run in simulator we also press Command+R, we have problem with this shortcut key in Simulator and see recording has started but we don't want to.

so how can we change this shortcut in Simulator to avoid this conflict?

enter image description here


Solution

    1. Open Simulator
    2. Right click the icon in the tray
    3. Select Options > Show in Finder
    4. Copy Simulator.app to your /Applications directory
    5. Open System Preferences > Keyboard > Shortcuts
    6. Click App Shortcuts > add [+]
    7. Select the Simulator.app from the list
    8. Enter Menu Title Record Screen (or other name of the Simulator's Shortcut)
    9. Enter Keyboard Shortcut whatever you want
    10. Click Add
    11. Delete Simulator.app from /Applications
    12. Done! The shortcut will still be changeable.

    enter image description here