Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
d95589d4
Commit
d95589d4
authored
Sep 05, 2015
by
Marc Cornellà
Browse files
Add README for the xcode plugin
parent
ec3694c7
Changes
1
Show whitespace changes
Inline
Side-by-side
plugins/xcode/README.md
0 → 100644
View file @
d95589d4
# Xcode
## Description
This plugin provides a few utilities that can help you on your daily use of Xcode and iOS development.
To start using it, add the
`xcode`
plugin to your
`plugins`
array:
```
zsh
plugins
=(
... xcode
)
```
## Aliases
| 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 |
| xcdd | Purge all temporary build information | rm -rf ~/Library/Developer/Xcode/DerivedData/
*
|
## Functions
-
**`xc`**
:
Open one of the
`.xcworkspace`
and
`.xcodeproj`
files that it can find in the current working directory.
Returns 1 if it didn't find any relevant files.
-
**`simulator`**
:
Open the iOS Simulator from your command line, dependant on whichever is the active developer directory for Xcode.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment