Search code examples
ioscalabash

How to specify custom XCode location for calabash?


If I run my application testing target with calabash from terminal with DEBUG=1 parameter I can see that calabash uses default Xcode location.

{ ... :xcode_path => "/Applications/Xcode.app/Contents/Developer" }

I'm wondering if there is any way to provide a custom location?


Solution

  • I've found a way to do that:

    sudo xcode-select -switch /Applications/Xcode5.app/Contents/Developer

    { ... :xcode_path => "/Applications/Xcode5.app/Contents/Developer" }

    If there is a better way please let me know.