ios simulator record screen with sound 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>