Xcode模拟器录屏 1.进入终端,cd到要放置录屏文件的位置 cd Movies/ 2.输入命令 xcrun simctl io booted recordVideo filename.mov 3. 停止录屏 control + c 最后进入到对应文件夹就可以找到录制好的视频了。