Skip to content

Support for XCode xip files#13

Open
brianwallace wants to merge 1 commit into
chef-osx:masterfrom
brianwallace:feature/support_for_xip_archives
Open

Support for XCode xip files#13
brianwallace wants to merge 1 commit into
chef-osx:masterfrom
brianwallace:feature/support_for_xip_archives

Conversation

@brianwallace

Copy link
Copy Markdown

This PR introduce support for xip files which is the new distribution vehicle for xcode v8.0+. It is intended to fix issue #11.

The command line steps on how to install a xip file were taken from the following Stack Overflow Article.

Feedback welcome.

@Sauraus

Sauraus commented Dec 16, 2016

Copy link
Copy Markdown

I love the XIP support, but this shouldn't be added here. This belongs in the https://github.com/chef-cookbooks/ark IMO.

And the implementation should be in ruby and not python to keep things 'in the family' so to speak.

Comment thread attributes/default.rb
when /^10\.9/
default["xcode"]["url"] = nil # should point to Xcode_6.2.dmg
default["xcode"]["checksum"] = "00545c078470c14e6a53204324e2c10283c18c86d3a9f580bf90cbe97c6c28ec"
default["xcode"]["package_type"] = "dmg"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can't this be parsed from the url / file name?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Brantone, great suggestion! I'll make that update.

@nkammah

nkammah commented Dec 6, 2017

Copy link
Copy Markdown

An approach for the xip unpacking would be the Puppet approach to use Archive Utility to extract the package.

'/System/Library/CoreServices/Applications/Archive Utility.app/Contents/MacOS/Archive Utility' <source>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants