gpt4 book ai didi

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

转载 作者:IT王子 更新时间:2023-10-29 08:04:27 25 4
gpt4 key购买 nike

我将我的 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.

关于ios - Xcode 8.2 模拟器在调试时崩溃并退出保存屏幕截图,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/41125344/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com