dyld-shared-cache-extractor

April 12, 2026 ยท View on GitHub

A CLI tool to extract dylib from dyld_shared_cache

Re-implementation of the tool dsc_extractor, which exists in apple-oss-distributions/dyld, in Swift using MachOKit.

Github issues Github forks Github stars Github top language

Usage

OVERVIEW: Extract dylib from dyld shared cache

USAGE: dyld-shared-cache-extractor <input-path> [--output <output>] [--dylib <dylib>] [--all] [--skip-local-symbols]

ARGUMENTS:
  <input-path>            Path to the input main dyld shared cache file.

OPTIONS:
  -o, --output <output>   Path to the output directory for exacted dyld file
                          (default: ./)
  -d, --dylib <dylib>     Name of dylib to be extracted.
  --all                   Extract all dylibs.
  --skip-local-symbols    Skip extraction of local symbols from dyld local
                          symbol cache.
  --version               Show the version.
  -h, --help              Show help information.

License

dyld-shared-cache-extractor is released under the MIT License. See LICENSE