Skip to content

Commit

Permalink
Update paths for Ventura (#6)
Browse files Browse the repository at this point in the history
This just puts the Ventura paths front and center and adds a note about
the old paths below.

Fixes #4
  • Loading branch information
keith authored Sep 8, 2022
1 parent 109b6aa commit c9da45a
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ these libraries from the cache for reverse engineering.
Extract the default shared cache to `/tmp/libraries`:

```sh
dyld-shared-cache-extractor /System/Library/dyld/dyld_shared_cache_arm64e /tmp/libraries
dyld-shared-cache-extractor /System/Volumes/Preboot/Cryptexes/OS/System/Library/dyld/dyld_shared_cache_arm64e /tmp/libraries
```

If this fails it could be because the shared cache format has changed,
Expand All @@ -22,7 +22,14 @@ you're trying to extract the cache from a beta OS version) and override
the Xcode version when running `dyld-shared-cache-extractor`:

```sh
DEVELOPER_DIR=/Applications/Xcode-beta.app dyld-shared-cache-extractor /System/Library/dyld/dyld_shared_cache_arm64e /tmp/libraries
DEVELOPER_DIR=/Applications/Xcode-beta.app dyld-shared-cache-extractor /System/Volumes/Preboot/Cryptexes/OS/System/Library/dyld/dyld_shared_cache_arm64e /tmp/libraries
```

On macOS versions before Ventura the shared cache was in a different
location, you can extract on older macOS versions with:

```sh
dyld-shared-cache-extractor /System/Library/dyld/dyld_shared_cache_arm64e /tmp/libraries
```

## Installation
Expand Down

0 comments on commit c9da45a

Please sign in to comment.