Skip to content

Tagged: #dyld

From double-click to first window: LaunchServices, launchd, posix_spawn, AMFI, dyld, the shared cache, sandbox profile installation, the runloop. Six subsystems in three seconds.
dyld is the macOS dynamic linker: it runs before main, loads every dylib, binds symbols and runs initializers. What it does, how it differs from the shared cache, and its internals.
Where the dyld shared cache lives on each macOS version (it moved to the Cryptex in Ventura), how to extract dylibs from it, and why every process maps it.