Skip to content

mothule/xc_launcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

xc_launcher

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

  • If you have xcodeproj, open it.
  • If you have xcodeproj and xcworkspace, open xcworkspace.
  • If you have multiple Xcode projects, open the first one with the project name in A-Z order.

Runtime Requirements

  • Ruby 2.6.3 or later

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

About

Open .xcodeproj or .xcworkspace via Xcode on command line.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages