尝试调试iOS崩溃(iOS8.4),但在对日志进行符号化之后,libswiftCore.dylib的行没有多大意义。有谁知道如何用0-2表示下面的线?
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000001, 0x000000010089d474
Triggered by Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libswiftCore.dylib 0x000000010089d474 0x1007dc000 + 791668
1 libswiftCore.dylib 0x00000001007fd288 0x1007dc000 + 135816
2 libswiftCore.dylib 0x00000001007fd1e4 0x1007dc000 + 135652
3 ImpliciTunes 0x000000010018e7f0 ImpliciTunes.QueryGenerator.prepareNewContextList (ImpliciTunes.QueryGenerator)([ImpliciTunes.FuzzyContextModelOutput]) -> () (QueryGenerator.swift:131)
4 ImpliciTunes 0x000000010018f214 ImpliciTunes.QueryGenerator.processNewSensorState (ImpliciTunes.QueryGenerator)(force : Swift.Bool) -> () (QueryGenerator.swift:173)
5 ImpliciTunes 0x0000000100190668 ImpliciTunes.QueryGenerator.indoorOutdoorStateUpdated (ImpliciTunes.QueryGenerator)(Swift.Int) -> () (QueryGenerator.swift:207)
6 ImpliciTunes 0x00000001001906ac @objc ImpliciTunes.QueryGenerator.indoorOutdoorStateUpdated (ImpliciTunes.QueryGenerator)(Swift.Int) -> () (QueryGenerator.swift:0)
7 ImpliciTunes 0x000000010011dc18 ImpliciTunes.IndoorOutdoor.hysterisisTimerExpired (ImpliciTunes.IndoorOutdoor)(ObjectiveC.NSTimer) -> () (IndoorOutdoor.swift:202)
8 ImpliciTunes 0x000000010011dcd4 @objc ImpliciTunes.IndoorOutdoor.hysterisisTimerExpired (ImpliciTunes.IndoorOutdoor)(ObjectiveC.NSTimer) -> () (IndoorOutdoor.swift:0)
答案 0 :(得分:0)
在共享应用程序之前,请确保您的应用程序使用位码上传,您可以使用从iTunes下载并从xcode存档的dsym文件轻松跟踪崩溃报告。
有关更多详细信息,请访问此引用URL
https://developer.apple.com/library/archive/technotes/tn2151/_index.html