Skip to content

Instantly share code, notes, and snippets.

@mschmulen
Last active August 21, 2017 16:47
Show Gist options
  • Save mschmulen/70538d2e7318578df9411f1252ab385f to your computer and use it in GitHub Desktop.
Save mschmulen/70538d2e7318578df9411f1252ab385f to your computer and use it in GitHub Desktop.
Mac iOS Development Environment

Manual Install (requires valid Apple ID )

  1. Install Xcode via the App store Xcode You must also open xcode and agree to the license agreement)
  2. Ensure Apple's command line tools are installed xcode-select --install (You must also open xcode and agree to the license agreement ) verify install with xcode-select -p
  3. Install package manager Cocoapods sudo gem install cocoapods its possible to do this without sudo reference CocoaPods Guide for instructions. Verify installation with pod --version
  4. Install package manager and Carthage via Homebrew : brew update and thenbrew install carthage. Verify installation with carthage version
  5. Verify installation by opening Xcode and "create a new Xcode project" -> "Single View (iOS) Application" -> "Build and Run" hotkey: ⌘ + r to build and run in the local simulator.

Ansible Install ( no Apple ID required)

WIP

  1. Install Ansible: sudo easy_install pip sudo pip install ansible verify with sudo pip install ansible --upgrade
  2. Download or copy Xcode XIP Xcode8.3.3.xip and place it inside ~/Documents folder
  3. Clone repo `git clone git@github.com:racker/mac-ios-dev-env ; cd mac-ios-dev-env
  4. Run ansible-playbook main.yml -i inventory -K inside this directory. Enter your account password when prompted.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment