V
V
vklvr2021-05-11 11:55:22
iOS
vklvr, 2021-05-11 11:55:22

How to take screenshots and screencasts of a real iPhone through Terminal commands?

Is it possible to make screencasts and iPhone screenshots using Terminal commands?

I tried the command xcrun io booted screenshot test.png, but in response I received

Devices are booted
.

I assume that this command only works with emulated devices.

On Android, I use these adb commands to quickly transfer screencasts to Mac:
adb shell screenrecord /sdcard/screencast.mp4
adb pull /sdcard/screencast.mp4 *директория на Маке*
adb shell rm /sdcard/screencast.mp4


Is there something similar for iOS? I went through the entire Internet, but found little information about xcode commands for the terminal in general.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question