(Following up comment #7) I've created a new patch, for the (currently) latest dyld source distro ([dyld-1042.1](https://github.com/apple-oss-distributions/dyld/archive/dyld-1042.1.tar.gz)). I used the same strategy as outlined in comment #7. I updated the "missing" headers to the newest versions I could find. Once again, I failed to find `sandbox/private.h`. But I reconstructed its defines exactly as I did the first time. I also couldn't find `VersionMap.h`, but I was able to figure out how to generate it: Download [AvailabilityVersions](https://github.com/apple-open-source/macos/tree/master/AvailabilityVersions), then run `make install_dyld_headers`. `VersionMap.h` will be created somewhere under `dst`. As previously, this patch only allows you to build `dyld_shared_cache_util`, as follows: ``` xcodebuild -target dyld_shared_cache_util ``` I've tested this on macOS 12.6.1 using XCode 14.1. I expect it will also work on macOS 13.
Bug 1661771 Comment 24 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
(Following up comment #7) I've created a new patch, for the (currently) latest dyld source distro ([dyld-1042.1](https://github.com/apple-oss-distributions/dyld/archive/dyld-1042.1.tar.gz)). I used the same strategy as outlined in comment #7. I updated the "missing" headers to the newest versions I could find. Once again, I failed to find `sandbox/private.h`. But I reconstructed its defines exactly as I did the first time. I also couldn't find `VersionMap.h`, but I was able to figure out how to generate it: Download [AvailabilityVersions](https://github.com/apple-open-source/macos/tree/master/AvailabilityVersions), then run `make install_dyld_headers`. `VersionMap.h` will be created somewhere under `dst`. As previously, this patch only allows you to build `dyld_shared_cache_util`, as follows: ``` xcodebuild -target dyld_shared_cache_util ``` I've tested this on macOS 12.6.1 using XCode 13 and 14, and on macOS 13 using XCode 14.