Commit 213f46a2 authored by Marc Cornellà's avatar Marc Cornellà
Browse files

Add xcselv documentation in the README

parent 5584aa05
...@@ -14,11 +14,12 @@ plugins=(... xcode) ...@@ -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) ...@@ -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`
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment