Dump Obj-C headers from a private framework for API discovery
When to use: You need the public surface (class + selector names) of a private framework to study behavior changes.
Prerequisites
- ipsw CLI installed — brew install blacktop/tap/ipsw
- A dyld_shared_cache extracted from an IPSW — Use ipsw extract on the IPSW you downloaded
Flow
-
Download the IPSWUse ipsw download for the iOS version I specify.✓ Copied→ IPSW saved locally
-
Extract the shared cacheExtract dyld_shared_cache from the IPSW.✓ Copied→ Shared cache file extracted
-
Dump headers for the target frameworkDump Obj-C headers for <FrameworkName>.✓ Copied→ Header dump with classes and selectors
Outcome: You have readable headers to diff across versions.
Pitfalls
- Confusing simulator binaries with device binaries — Always specify the device/arch you're studying; simulator slices differ