mirror of
https://github.com/appium/appium.git
synced 2026-02-05 17:18:52 -06:00
Add docs for multiple xcode versions installed (#9603)
* Add docs for multiple xcode versions installed * Fix typos in doc file: multiple-xcode-versions.md * Fix doc style: multiple-xcode-versions.md
This commit is contained in:
committed by
Isaac A. Murchie
parent
3d7dd1e857
commit
cfee87a5ba
31
docs/en/advanced-concepts/multiple-xcode-versions.md
Normal file
31
docs/en/advanced-concepts/multiple-xcode-versions.md
Normal file
@@ -0,0 +1,31 @@
|
||||
## Running Appium with multiple Xcode versions installed
|
||||
|
||||
If you have multiple Xcode installations you may choose which toolset Appium
|
||||
should use with one of two ways:
|
||||
|
||||
### xcode-select tool
|
||||
Only available with sudo privileges, affects the whole system.
|
||||
|
||||
Assuming you want to choose `/Applications/Xcode7.app`:
|
||||
1. Set default Xcode.
|
||||
```
|
||||
sudo xcode-select -s /Applications/Xcode7.app/Contents/Developer
|
||||
```
|
||||
2. Run Appium (from command line or with GUI).
|
||||
```
|
||||
appium
|
||||
```
|
||||
|
||||
### Environment variable
|
||||
No privileges needed, affects only the current shell, so Appium should be started
|
||||
within that shell.
|
||||
|
||||
Assuming you want to choose `/Applications/Xcode9.app`:
|
||||
1. Set `DEVELOPER_DIR` environment variable.
|
||||
```
|
||||
export DEVELOPER_DIR=/Applications/Xcode9.app/Contents/Developer
|
||||
```
|
||||
2. Run Appium *from the same shell.*
|
||||
```
|
||||
appium
|
||||
```
|
||||
Reference in New Issue
Block a user