Skip to content

Commit

Permalink
build_identity: Add -o to 'dyld split' in extract
Browse files Browse the repository at this point in the history
 Fix error caused by no passing `-o` parameter

 plumbum.commands.processes.ProcessExecutionError: Unexpected exit code: 1
Command line: | /usr/local/bin/ipsw dyld split extracted/iPhone16,2_17.3.1_21D61_Restore/System/Cryptexes/OS/System/Library/Caches/com.apple.dyld/dyld_shared_cache_arm64e extracted/iPhone16,2_17.3.1_21D61_Restore
Stderr:       | Usage:
              |   ipsw dyld split <DSC> [flags]
  • Loading branch information
netanelc305 committed Feb 28, 2024
1 parent e797430 commit fe19e9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ipsw_parser/build_identity.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,4 +155,4 @@ def extract(self, output: Path) -> None:
continue

logger.info(f'splitting DSC: {dsc}')
ipsw('dyld', 'split', dsc, output)
ipsw('dyld', 'split', dsc, '-o', output)

0 comments on commit fe19e9b

Please sign in to comment.