Xcode 8.2 simulator crash when save screen shot

前端 未结 6 1298
温柔的废话
温柔的废话 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:07

    The crash seems to occur due to a segmentation fault, or more specifically a general protection fault, while calling the saveScreenShot: selector. Why it happens can depend on several things, so it's hard to say whether a reinstall would help.

    In any case, if the screenshot (⌘S) function in simulator causes the crash, there's hardly anything you can do about it. The best option you have is probably to file a bug report to Apple.

    Update:

    I just updated to the 8.2 GM, and low and behold, ⌘S crashes for me as well. Although I'm getting KERN_INVALID_ADDRESS instead of EXC_I386_GPFLT.

    One workaround, for the time being, is copying the screen and pasting into Preview:

提交回复
热议问题