The best command to run Xcode app what you want.
- Short! This command is short as
cd
andls
that use frequently! - Fast! This command is blazingly fast to find and sort Xcode apps on the machine!
- Easy! This command is too easy to type and memorise so can even run Xcode app unconsciously!
You can install xc using Mint 🌱.
mint install minacle/xc
xc <subcommand>
xc help [<subcommand>]
List every or specified version of Xcode app(s) on the machine.
xc list [-a|--all] [-s|--specify <specifier>] [<paths> ...]
xc list [-b|--beta] [-s|--specify <specifier>] [<paths> ...]
xc list [-r|--release] [-s|--specify <specifier>] [<paths> ...]
-a
|--all
Search both beta and release version.-b
|--beta
Search only beta version.-r
|--release
Search only release version. (default)-s <specifier>
|--specify <specifier>
Specify the build or version of Xcode to run.
To specify build 11E801a (for Xcode 11.7 GM), send11E801a
.
To specify version 12.0.1 (for Xcode 12A7300 GM), send12.0.1
.
To specify most recent version starts with 11, send~>11.0
.
To specify most recent version starts with 8.3, send~>8.3.0
.-h
|--help
Show help information.
Open paths using most recent or specified version of Xcode app on the machine.
Default behaviour.
xc [open] [-a|--all] [-s|--specify <specifier>] [-F|--fresh] [-H|--hide] [<paths> ...]
xc [open] [-b|--beta] [-s|--specify <specifier>] [-F|--fresh] [-H|--hide] [<paths> ...]
xc [open] [-r|--release] [-s|--specify <specifier>] [-F|--fresh] [-H|--hide] [<paths> ...]
<paths>
Path list to be opened.
Swift packages are can be selected by package root directory.
Open as workspace if .xcodeproj and/or .xcworkspace bundle selected.
Otherwise selected file will be opened as independent file.
-a
|--all
Search both beta and release version.-b
|--beta
Search only beta version.-r
|--release
Search only release version. (default)-s <specifier>
|--specify <specifier>
Specify the build or version of Xcode to run.
To specify build 11E801a (for Xcode 11.7 GM), send11E801a
.
To specify version 12.0.1 (for Xcode 12A7300 GM), send12.0.1
.
To specify most recent version starts with 11, send~>11.0
.
To specify most recent version starts with 8.3, send~>8.3.0
.-h
|--help
Show help information.
Print information of specified Xcode app on the machine.
xc print [-a|--all] [-s|--specify <specifier>] [-f|--format <format>]
xc print [-b|--beta] [-s|--specify <specifier>] [-f|--format <format>]
xc print [-r|--release] [-s|--specify <specifier>] [-f|--format <format>]
-a
|--all
Search both beta and release version.-b
|--beta
Search only beta version.-r
|--release
Search only release version. (default)-s <specifier>
|--specify <specifier>
Specify the build or version of Xcode to run.
To specify build 11E801a (for Xcode 11.7 GM), send11E801a
.
To specify version 12.0.1 (for Xcode 12A7300 GM), send12.0.1
.
To specify most recent version starts with 11, send~>11.0
.
To specify most recent version starts with 8.3, send~>8.3.0
.-f <format>
|--format <format>
Set the output format.
%b
stands for build.
%l
stands for license type (Release
,Beta
orUnknown
).
%n
stands for name.
%p
stands for path.
%v
stands for version.
%%
stands for percent sign (%
) itself.
Escapings are supported: see Special Characters in String Literals section on Swift Language Guide.-h
|--help
Show help information.
Run developer tool from the specified Xcode app.
xc run [-a|--all] [-s|--specify <specifier>] <command> [<arguments> ...]
xc run [-b|--beta] [-s|--specify <specifier>] <command> [<arguments> ...]
xc run [-r|--release] [-s|--specify <specifier>] <command> [<arguments> ...]
<command>
The command or App to execute.<arguments>
Arguments to send to the command or App.
-a
|--all
Search both beta and release version.-b
|--beta
Search only beta version.-r
|--release
Search only release version. (default)-s <specifier>
|--specify <specifier>
Specify the build or version of Xcode to run.
To specify build 11E801a (for Xcode 11.7 GM), send11E801a
.
To specify version 12.0.1 (for Xcode 12A7300 GM), send12.0.1
.
To specify most recent version starts with 11, send~>11.0
.
To specify most recent version starts with 8.3, send~>8.3.0
.-h
|--help
Show help information.
No.