加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

ios – Xcode 8.2模拟器崩溃并在调试时保存屏幕截图

发布时间:2020-12-15 02:03:26 所属栏目:百科 来源:网络整理
导读:我将Xcode更新到8.2,从那时起,如果我尝试在调试时拍摄截图,那么它会崩溃,然后退出。 我尝试了iOS 9.0和10.0模拟器,它们都是两个。“ 谢谢 Update: 8.2.1 – Doesn’t works 8.3 – Works only with Mac OS Sierra 解决方法 请尝试采取截图的方法 You ca
我将Xcode更新到8.2,从那时起,如果我尝试在调试时拍摄截图,那么它会崩溃,然后退出。

我尝试了iOS 9.0和10.0模拟器,它们都是两个。“

谢谢

Update:

8.2.1 – Doesn’t works

8.3 – Works only with Mac OS Sierra

解决方法

请尝试采取截图的方法

You can take videos and screenshots of Simulator using the xcrun Xcode command-line utility. To take a screenshot,run the command xcrun simctl io booted screenshot. To take a video,run the command xcrun simctl io booted recordVideo <filename>.<file extension>. (9887264)

来源:Xcode 8.2 Release Notes

Simulator can crash when saving a screenshot when running on OS X El Capitan. (29182710) The crash does not occur on macOS Sierra.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读