Add xcselv documentation in the README

This commit is contained in:
Marc Cornellà 2015-09-07 12:08:50 +02:00
parent 5584aa05c7
commit 213f46a296

View File

@ -14,11 +14,12 @@ plugins=(... xcode)
## Aliases ## Aliases
| Alias | Description | Command | | Alias | Description | Command |
|-------|---------------------------------------|------------------------------------------------| |-------|------------------------------------------|------------------------------------------------|
| xcsel | Change active developer directory | sudo xcode-select --switch |
| xcp | Show currently active dev. directory | xcode-select --print-path |
| xcb | Build Xcode projects and workspaces | xcodebuild | | xcb | Build Xcode projects and workspaces | xcodebuild |
| xcdd | Purge all temporary build information | rm -rf ~/Library/Developer/Xcode/DerivedData/* | | xcdd | Purge all temporary build information | rm -rf ~/Library/Developer/Xcode/DerivedData/* |
| xcp | Show currently selected Xcode directory | xcode-select --print-path |
| xcsel | Select different Xcode directory by path | sudo xcode-select --switch |
## Functions ## Functions
@ -29,3 +30,6 @@ plugins=(... xcode)
- **`simulator`**: - **`simulator`**:
Open the iOS Simulator from your command line, dependant on whichever is the active developer directory for Xcode. Open the iOS Simulator from your command line, dependant on whichever is the active developer directory for Xcode.
- **`xcselv`**:
Select different Xcode by version. Example: `xcselv 6.2`