From fe19e9bb553237d539d2bffe0b44d3c23b114b01 Mon Sep 17 00:00:00 2001 From: netanelc305 <50978770+netanelc305@users.noreply.github.com> Date: Tue, 27 Feb 2024 10:32:52 -0800 Subject: [PATCH] build_identity: Add `-o` to 'dyld split' in `extract` 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 [flags] --- ipsw_parser/build_identity.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ipsw_parser/build_identity.py b/ipsw_parser/build_identity.py index 756b078..0e9244d 100644 --- a/ipsw_parser/build_identity.py +++ b/ipsw_parser/build_identity.py @@ -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)