adb shell screenrecord /sdcard/test.mp4
xcrun simctl io booted recordVideo --type=mp4 screen.mp4
adb shell input keyevent 82
also
adb shell input keyevent KEYCODE_MENU
adb shell screenrecord /sdcard/test.mp4
xcrun simctl io booted recordVideo --type=mp4 screen.mp4
adb shell input keyevent 82
also
adb shell input keyevent KEYCODE_MENU
Make localhost accessible from device:
Android:
adb reverse tcp:1337 tcp:1337
- must re-run if you disconnect/reconnect the device from the USB.