我从App Store中的iPhone应用程序(通过iTunes Connect检索)获得了崩溃日志,在符号化后有一堆来自CodeData和CoreFoundation的"<redacted>"方法名称.
iTunes Connect中的原始崩溃日志文件如下所示:
Last Exception Backtrace:
0 CoreFoundation 0x34a0929e __exceptionPreprocess
1 libobjc.A.dylib 0x32d1997a objc_exception_throw
2 CoreData 0x3631fec2 -[NSSQLCore _obtainOpenChannel]
3 CoreData 0x363cfd9c newFetchedRowsForFetchPlan_MT
4 CoreData 0x363b3be6 -[NSSQLCore newFetchedPKsForSourceID:andRelationship:]
5 CoreData 0x363a6008 -[NSSQLCore newValueForRelationship:forObjectWithID:withContext:error:]
6 CoreData 0x3635690a -[NSFaultHandler retainedFulfillAggregateFaultForObject:andRelationship:withContext:]
7 CoreData 0x36326d48 -[_NSFaultingMutableSet willRead]
8 CoreData 0x3632767c -[_NSFaultingMutableSet allObjects]
Run Code Online (Sandbox Code Playgroud)
在我的Mac上进行符号化后,日志看起来像这样:
Last Exception Backtrace:
0 CoreFoundation 0x34a0929e <redacted> + 158
1 libobjc.A.dylib 0x32d1997a objc_exception_throw + 26
2 CoreData 0x3631fec2 <redacted> + 230
3 CoreData 0x363cfd9c <redacted> + 948
4 CoreData …Run Code Online (Sandbox Code Playgroud) ios ×1