Skip to content

Instantly share code, notes, and snippets.

@nmcspadden
Created February 13, 2018 00:56
Show Gist options
  • Save nmcspadden/6fe5411db3094ab5b81209357d548137 to your computer and use it in GitHub Desktop.
Save nmcspadden/6fe5411db3094ab5b81209357d548137 to your computer and use it in GitHub Desktop.
Xcode 9.3 beta 2 AutoPkg
$ autopkg run -vvv Xcode.munki -p ~/Downloads/Xcode_9.3_beta_2.xip
Processing Xcode.munki...
...
PackageRequired
{'Input': {}}
{'Output': {}}
XcodeXIPUnpacker
{'Input': {'PKG': '/Users/nmcspadden/Downloads/Xcode_9.3_beta_2.xip'}}
XcodeXIPUnpacker: Xar unpacking /Users/nmcspadden/Downloads/Xcode_9.3_beta_2.xip
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished xar unpack.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part00.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part02.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part04.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part06.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part08.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part10.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part12.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part14.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part16.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part18.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part20.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part22.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part24.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part26.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part28.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part30.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part32.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Gunzip unpacking /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/xar/Content.part34.cpio.xz
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished gunzipping.
XcodeXIPUnpacker: Combining .cpio files together
XcodeXIPUnpacker: Ditto extraction of CPIO archive /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/Content.cpio
XcodeXIPUnpacker:
XcodeXIPUnpacker: Finished ditto extraction.
XcodeXIPUnpacker: Cleaning up temporary archives.
{'Output': {'output_app': u'/Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/Xcode-beta.app'}}
CodeSignatureVerifier
{'Input': {'input_path': u'/Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/Xcode-beta.app',
'requirement': u'identifier "com.apple.dt.Xcode" and anchor apple'}}
CodeSignatureVerifier: Verifying code signature...
CodeSignatureVerifier: Deep verification enabled...
CodeSignatureVerifier: Strict verification not defined. Using codesign defaults...
CodeSignatureVerifier: /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/Xcode-beta.app: valid on disk
CodeSignatureVerifier: /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/Xcode-beta.app: satisfies its Designated Requirement
CodeSignatureVerifier: /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/Xcode-beta.app: explicit requirement satisfied
CodeSignatureVerifier: Signature is valid
{'Output': {}}
PlistReader
{'Input': {'info_path': u'/Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/Xcode-beta.app/Contents/version.plist',
'plist_keys': {
CFBundleShortVersionString = version;
CFBundleVersion = bundleversion;
ProductBuildVersion = productbuildversion;
}}}
PlistReader: Reading: /Volumes/Repo/Cache/local.munki.XcodeMunki/Xcode_unpack/Xcode-beta.app/Contents/version.plist
PlistReader: Assigning value of '9.3' to output variable 'version'
PlistReader: Assigning value of '9Q107o' to output variable 'productbuildversion'
PlistReader: Assigning value of '14114.2' to output variable 'bundleversion'
{'Output': {'plist_reader_output_variables': {u'bundleversion': u'14114.2',
u'productbuildversion': u'9Q107o',
u'version': u'9.3'}}}
XcodeVersioner
{'Input': {'version': u'9.3'}}
XcodeVersioner: Major version: 9
XcodeVersioner: Minor version: 3
XcodeVersioner: Normalizing patch to 0
XcodeVersioner: Patch version: 0
{'Output': {'major_version': '9', 'minor_version': '3', 'patch_version': '0'}}
...
Receipt written to /Volumes/Repo/Cache/local.munki.XcodeMunki/receipts/Xcode-receipt-20180212-162502.plist
The following new items were imported into Munki:
Name Version Catalogs Pkginfo Path Pkg Repo Path
---- ------- -------- ------------ -------------
Xcode9.3 9.3.0.14114.2 prod apps/apple/xcode/Xcode9.3-9.3.0.14114.2.plist apps/apple/xcode/Xcode_9.3-9.3.0.14114.2.dmg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment