Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode command line tools (two versions side by side)

Recently we've moved to Xcode 8 in order to compile the app with new Xcode version, but I still need to use Old Xcode (7.3.1) in order to use it's instruments with older ver of appium ...

I was wondering if there is a way to open each Xcode ver and to use it's relevant command line tools?
currently , the command line tools I set in specific version is being used among two Xcode versions ...

Thanks!

like image 310
Igal Avatar asked Aug 20 '26 21:08

Igal


1 Answers

I am using X-code 7.3.3. to run appium test and Xcode-8 to build app under test. I have moved xocde8 into folder name "xcode8". And to switch between different Xcode version you can use -

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer/

sudo xcode-select -s /Applications/xcode8/Xcode-8.app/Contents/Developer/
like image 189
Suman Avatar answered Aug 24 '26 03:08

Suman