rp screen recorder not working in iphone simulator code example
Example: screen record ios simulator
// when iOS simulator is running
xcrun simctl io booted recordVideo <filename>.<file extension>
// when iOS simulator is running
xcrun simctl io booted recordVideo <filename>.<file extension>