I was trying to capture video for app Preview from ios simulator with implementing command in terminal.
but when i try to use the command bellow
xcrun simctl io booted recordVideo appPreview.mp4
the terminal gives me the error:
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=22):
Selected interface does not support video recording.
Invalid argument
can someone explain what is the problem here and how to resolve this problem?
I am using XCODE Version 11.0 beta 5 (11M382q)
and running ios simulator Xs Max
It is a known issue. "Video recording of the iOS 13, tvOS 13, and watchOS 6 simulator through xcrun simctl io <UDID> recordVideo returns an error instead of recording video. (50625716)"
Unrelated, but the Xcode 11 GM is out - beta 5 is outdated.
This is fixed in Xcode 11.2; installing that version of Xcode will upgrade your CoreSimulator which also fixes Xcode 11.0 and 11.1.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With