Add xcselv documentation in the README

pull/4235/head
Marc Cornellà 2015-09-07 12:08:50 +02:00
parent 5584aa05c7
commit 213f46a296
1 changed files with 10 additions and 6 deletions

View File

@ -13,12 +13,13 @@ plugins=(... xcode)
## Aliases ## Aliases
| Alias | Description | Command | | Alias | Description | Command |
|-------|---------------------------------------|------------------------------------------------| |-------|------------------------------------------|------------------------------------------------|
| xcsel | Change active developer directory | sudo xcode-select --switch | | xcb | Build Xcode projects and workspaces | xcodebuild |
| xcp | Show currently active dev. directory | xcode-select --print-path | | xcdd | Purge all temporary build information | rm -rf ~/Library/Developer/Xcode/DerivedData/* |
| xcb | Build Xcode projects and workspaces | xcodebuild | | xcp | Show currently selected Xcode directory | xcode-select --print-path |
| xcdd | Purge all temporary build information | rm -rf ~/Library/Developer/Xcode/DerivedData/* | | 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`