Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode 8.2 simulator crash and quits on saving a screenshot while debugging

Tags:

I updated my Xcode to 8.2 and since then if I try to take a screenshot while debugging it is crashing and then quits.

I tried iOS 9.0 and 10.0 simulators and it happen with both of them.'

Thanks

Update:

8.2.1 - Doesn't works

8.3 - Works only with Mac OS Sierra

like image 435
AtWork Avatar asked Dec 13 '16 15:12

AtWork


1 Answers

Please try this approach for taking screenshot

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)

source :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.

like image 100
Arasuvel Avatar answered Sep 18 '22 14:09

Arasuvel