Ich würde empfehlen, einfach das Archiv in den Ordner zu extrahieren Sie wollen versuchen, die folgenden:
xar -xf file.xip -C /path/to/target
(und/oder)
tar -zxvf file.xip -C /path/to/target
Die xar
und tar
Befehle extrahieren Sie die .xip
„Content "und" Metadaten "in einem Rohformat.
Mit einem pbzx
Stream-Parser müssen Sie den "Inhalt" extrahieren, die eine lzma komprimierte Payload ist; Das Format ähnelt dem in einem Paketinstallationsprogramm (z. B. .pkg
).
pbzx -n Content | cpio -i
können Sie compile the pbzx source from here oder download the compiled binary und installieren, um /usr/local/bin
dann den pbzx
Befehl aufrufen. Nachdem der Befehl den Inhalt analysiert hat, sollten Sie das Originalformular des Archivs .xip
erhalten.
Nützliche/Zusätzliche Informationen:
$ pkgutil --check-signature file.xip
Xcode_9_beta_2.xip kehrt:
Package "Xcode_9_beta_2.xip":
Status: signed Apple Software
Certificate Chain:
1. Software Update
SHA1 fingerprint: 1E 34 E3 91 C6 44 37 DD 24 BE 57 B1 66 7B 2F DA 09 76 E1 FD
-----------------------------------------------------------------------------
2. Apple Software Update Certification Authority
SHA1 fingerprint: FA 02 79 0F CE 9D 93 00 89 C8 C2 51 0B BC 50 B4 85 8E 6F BF
-----------------------------------------------------------------------------
3. Apple Root CA
SHA1 fingerprint: 61 1E 5B 66 2C 59 3A 08 FF 58 D1 4A E2 24 52 D1 98 DF 6C 60
Hinweise:
Important: Starting with macOS Sierra, only XIP archives signed by Apple will be expanded. Developers who have been using XIP archives will need to move to using signed installer packages or disk images.
↳ OS X manual page : xip
Wenn es "nur ein Zip" ist, dann werden vermutlich normale Unzip-Tools den Trick machen.Oder möchten Sie die Signatur ebenfalls verifizieren? – halfer