tbdump icon indicating copy to clipboard operation
tbdump copied to clipboard

File does not contain any LC_VERSION_MIN_* load command.

Open aaronn opened this issue 6 years ago • 5 comments
trafficstars

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?

aaronn avatar Feb 02 '19 08:02 aaronn

Could you upload/share the library in question?

Siguza avatar Feb 02 '19 11:02 Siguza

@Siguza Same issue with IOKit from iOS 12.1.1 IOKIt.zip

danpashin avatar Apr 20 '19 05:04 danpashin

I'm getting this error too

lmcd avatar Feb 03 '20 23:02 lmcd

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.

Torrekie avatar Sep 19 '21 08:09 Torrekie

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.

Siguza avatar Sep 19 '21 14:09 Siguza