我将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 commandxcrun simctl io booted screenshot
. To take a video,run the commandxcrun simctl io booted recordVideo <filename>.<file extension>
. (9887264)
Simulator can crash when saving a screenshot when running on OS X El Capitan. (29182710) The crash does not occur on macOS Sierra.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 [email protected] 举报,一经查实,本站将立刻删除。