Xcode 8.2 simulator crash when save screen shot

前端 未结 6 1294
温柔的废话
温柔的废话 2021-01-30 01:37

After update XCode 8.2, every time save simulator screen shot always made it crash. Even I reset content and settings still crash.

Should I remove all simulator and inst

6条回答
  •  清酒与你
    2021-01-30 02:00

    Solution 1

    1) Go to Simulators > Edit > Copy Screen (⌃⌘C)

    2) Open Preview App > Go to File > New from Clipboard (⌘N) and Save (⌘S) to your favorite location on your machine

    Solution 2:- Using the xcrun Xcode command-line utility

    Open Terminal App and run the following command to take screenshot

    xcrun simctl io booted screenshot

    If you wish to save the captured screenshot to specific location

    xcrun simctl io booted screenshot

提交回复
热议问题