I'm trying to record a video of the simulator screen using the following command:
xcrun simctl io booted recordVideo --mask=ignored ~/Desktop/footage.mp4
As you can see, I specified the value ignored
for the mask
parameter because I want to omit the mask on the iPhone X's simulator.
The documentation says:
For non-rectantular displays, handle the mask by policy:
ignored: The mask is ignored and the unmasked framebuffer is saved.
black: The mask is rendered black.
Here is the result:
As you can see, as soon as I start interacting with the simulator, the mask appears.
Am I doing something wrong? Is this a known bug?
PS: recording from an actual iPhone X is not a solution as I don't own such a device.