Open Xcode in terminal (with specify version)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Sources
Tests/XcodeOpenTests
.gitignore
.travis.yml
.xcode_version
LICENSE
Makefile
Package.resolved
Package.swift
README.md
formula.rb.tmpl
release.sh

README.md

Summary

Open Xcode from terminal.

Install

Homebrew

$ brew install YusukeHosonuma/xcode-open/xcode-open

Download the executable binary from Releases

Download from Releases, then copy to any place.

Usage

Open by default

$ xcode-open

Open by specify version

$ xcode-open 9.1

Open by specify version and save setting

$ xcode-open 9.1 --save
$ xcode-open # detect version from .xcode_version