p0tools icon indicating copy to clipboard operation
p0tools copied to clipboard

iOSOnMac compatibility improvement

Open vnc0 opened this issue 10 months ago • 2 comments

This pull request introduces updates to the iOSOnMac project, focusing on compatibility improvements and build process improvements.

Key Changes

  1. MacOS Compatibility Fix
    • Issue: Interposing did not work properly on newer macOS versions since dyld unmapped itself.
    • Solution: Disabled dyld shared cache for internal components.
    • Implementation: Added environment variables DYLD_IN_CACHE=0 and DYLD_INSERT_LIBRARIES=interpose.dylib in runner.c before spawning the child process.
    • References: Addresses issues #5 and #9.
  2. Build Process Improvements
    • Improved overall readability.
    • Added a clean target to remove build artifacts.
    • Added optional support for signing with ldid.

vnc0 avatar Feb 13 '25 00:02 vnc0

Hi, thank you for submitting the pull request. Unfortunately, this directory (iOSOnMac) is no longer maintained and the original author is no longer at Project Zero and doesn't have the capacity to review patches. The directory is considered an archive at this point.

ifratric avatar May 13 '25 07:05 ifratric

tested and worked for me. I had been blocked on this personally. Thank you!

InfiniteDevelopment avatar Jun 25 '25 19:06 InfiniteDevelopment