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
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 commandxcrun simctl io booted screenshot
. To take a video, run the commandxcrun 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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With