请问如何找到App中调用的库位于在那个地方

堆栈如下:

1 StoreKit 0x00000001a12d1e6c 02C51191-1A02-321C-B0EE-A506596906C2 + 69228
2 libdispatch.dylib 0x0000000182e31a84 DAF30062-4C85-3B92-B159-50602A0C9D97 + 10884
3 libdispatch.dylib 0x0000000182e3381c DAF30062-4C85-3B92-B159-50602A0C9D97 + 18460
4 libdispatch.dylib 0x0000000182e41c70 _dispatch_main_queue_callback_4CF + 884
5 CoreFoundation 0x00000001831c0398 4FBDF167-161A-324C-A233-D516922C67E5 + 668568
6 CoreFoundation 0x00000001831ba270 4FBDF167-161A-324C-A233-D516922C67E5 + 643696
7 CoreFoundation 0x00000001831b9360 CFRunLoopRunSpecific + 600
8 GraphicsServices 0x000000019a7f77<…>

怎么找到 StoreKit 的 库文件 二进制呢?

一般调用栈会带着模块表吧,里面会有路径;如果能找到对应的路径但是没有文件,应该是在dyld_shared_cache里面

/Users/admin/Library/Developer/Xcode/iOS DeviceSupport/15.3.1 (19D52) arm64e/Symbols/System/Library/Frameworks/StoreKit.framework

1 个赞

谢谢解答,已经解决