Crash logs generated by iPhone Simulator?

前端 未结 7 1964
野性不改
野性不改 2020-12-22 21:49

Are there any crash logs generated by iPhone Simulator?

the Simulator crashes a lot but not leaving any traces in Console... the crash log will be useful.

7条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-22 22:06

    The crash crash logs will appear under ~/Library/Logs/CrashReporter.

    • If the iPhone simulator program crashes (not the iPhone app running within the simulator), then there will be an entry for iPhoneSimulator.
    • If the iPhone App within the simulator crashes, the crash log will appear with the display name of the app.

    When Xcode gets crash logs from a connected device, it stores them in sub-folders of ~/Library/Logs/CrashReporter/MobileDevice

提交回复
热议问题