mothule / xc_launcher

Open .xcodeproj or .xcworkspace via Xcode on command line.
MIT License
1 stars 1 forks source link
mac ruby xcode

xc_launcher

This script open .xcodeproj or .xcworkspace via Xcode on command line.

Runtime Requirements

Installation

Download and install script file

$ cd ~/Downloads/
$ curl -sO https://raw.githubusercontent.com/mothule/xc_launcher/master/xc
$ chmod 711 xc
$ mv xc your_script_dir_path
$ ln -s your_script_dir_path/xc /usr/local/bin/

Usage

If no argument is specified, the Xcode project will be searched in the current directory.

$ cd your/xcode/project/directory
$ xc 

If you pass a directory path as the first argument, the Xcode project in that directory will be searched and opened.

$ xc your/xcode/project/directory

LICENSE

MIT License