Skip to content

chef-osx/xcode

Repository files navigation

Apple Xcode Cookbook

Installs Apple Xcode and command line tools on OS X Lion, Mountain Lion, Mavericks, Yosemite, and El Capitan.

** Note: ** The official build-essential cookbook now supports installing the command line tools, and is better-maintained than this cookbook.

Requirements

Platforms

  • mac_os_x

Cookbooks

  • dmg

The DMGs are not accessible from Apple directly without logging into the developer center. You must place the DMGs on a fileserver yourself and set the URL attributes below. The intended filenames are documented in the attributes file.

Attributes

Key Type Description Default
['xcode']['url'] String URL to the Xcode DMG nil
['xcode']['checksum'] String Checksum of the Xcode DMG (in the attributes file)
['xcode']['cli']['url'] String URL to the Xcode Command-Line Tools DMG nil
['xcode']['cli']['checksum'] String Checksum of the Xcode CLI DMG (in the attributes file)

Usage

Just include xcode in your node's run_list and set the attributes above.

{
  "name":"my_node",
  "run_list": [
    "recipe[xcode]"
  ]
}

Bugs

Only supports Mac OS X 10.7 - 10.11 at the moment. Pull requests are welcome!

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Submit a Pull Request using Github

License and Authors

About

Development repository for Chef Cookbook for Apple XCode

Resources

Stars

Watchers

Forks

Packages

No packages published