tbdump
tbdump copied to clipboard
File does not contain any LC_VERSION_MIN_* load command.
I'm not really familiar with jtool or tbd file generation but I found this project through a Stackoverflow answer where you help someone get .tbd files linked for PrivateFramework linking. I followed your instructions to extract from the dyld cache with jtool -e AvatarKit dyld_shared_cache_arm64 but when I run ./tbdump dyld_shared_cache_arm64.AvatarKit >AvatarKit.tbd I get this error: [!] Data format error while parsing dyld_shared_cache_arm64.AvatarKit: File does not contain any LC_VERSION_MIN_* load command. Any ideas?
Could you upload/share the library in question?
@Siguza Same issue with IOKit from iOS 12.1.1 IOKIt.zip
I'm getting this error too
I found this thread talked about this problem, that LC_VERSION_MIN_* are no longer emitted when building machos for newer Darwin systems, they are superseded by LC_BUILD_VERSION.
Sigh. Thing is, tbdump is broken on so many ends... I seriously thing efforts would be better spent trying to add dyld_shared_cache support on top of tpoechtrager/apple-libtapi.