Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Record IOS Simulator video and simulator audio in background

I need to record 100 separate videos of my simulator which is about 40 hours of high quality. I want to record video of Xcode simulator and system audio in the background. Since I need to use my computer at the same time I don't want to use tools like Camtasia or quick time. I am wondering if this is achievable. If so this will save my one month.

like image 204
birdcage Avatar asked Jan 11 '19 06:01

birdcage


People also ask

How do I record my iOS simulator screen?

To record a video, open the simulator and go up to the simulator menu. Choose File > Record Screen. Alternatively, you can simply press command-R to start the recording.

How do you do voice over on simulation?

While VoiceOver is not available directly in the Xcode simulator, it is possible to run VoiceOver from macOS to test your app. To do this, set keyboard focus on the simulator window then enable VoiceOver. From here you'll be able to use the Virtual Cursor to move between items on the screen.

How do you put videos on iPhone simulator?

It's very simple you just drag any . MOV file to your simulator. Now it will be opened in Safari browser.

Does iOS simulator simulate performance?

The simulator does a really lousy job of indicating app performance. In fact it doesn't try. For most things the simulator is much, much faster than an iOS device. It runs your code on an x86 processor, which is much faster than the ARM and has many times more memory.


2 Answers

In the latest version of Xcode Simulators "Scroll over the Save Screen Button and Hold the OPTION key , gives the screen record option. enter image description here

Save screen button will change to record video button

enter image description here

like image 164
Nevin Paul Avatar answered Oct 22 '22 02:10

Nevin Paul


You can achieve this by following.

1.In simulator Menu Choose Hardware > Audio Input > System to use the same audio input as the Mac.

2.Open Terminal and navigate to the directory where you want to save video.

Run Command : xcrun simctl io booted recordVideo <filename>.<extension>

It will start recording.To finish Press Control-C. Video will save on current directory.

like image 43
Sagar koyani Avatar answered Oct 22 '22 00:10

Sagar koyani