Skip to main content

ipsw macho patch

Patch MachO Load Commands

ipsw macho patch [add|rm|mod] <MACHO> <LC> <LC_FIELDS...> [flags]

Examples

  # Modify LC_BUILD_VERSION like vtool
❯ ipsw macho patch mod MACHO LC_BUILD_VERSION iOS 16.3 16.3 ld 820.1
# Add an LC_RPATH like install_name_tool
❯ ipsw macho patch add MACHO LC_RPATH @executable_path/Frameworks

Options

  -h, --help            help for patch
-o, --output string Output new file
-f, --overwrite Overwrite file
-s, --re-sign Adhoc sign file

Options inherited from parent commands

      --color           colorize output
--config string config file (default is $HOME/.config/ipsw/config.yaml)
--no-color disable colorize output
-V, --verbose verbose output

SEE ALSO