Error: Stderr: xcrun: error: unrecognized option: --show-sdk-version

I’ve been struggling to get Appium to launch iOS for a while. It seems entirely Xcode related (of which I’m on v6.1) - Has anyone encountered this problem before.

It should be noted that the problem preceding this was

- error: Could not determine iOS SDK version

Which was settled by using xcode-select -switch /Applications/Xcode.app/

Here’s the current error logs:

2014-11-27 22:02:48:595 - info: [debug] Starting Appium in pre-launch mode

2014-11-27 22:02:48:597 - info: Pre-launching app
2014-11-27 22:02:48:599 - info: [debug] Using local app from command line: /Users/path/to/dev.app
2014-11-27 22:02:48:600 - info: [debug] Creating new appium session fb2271e3-8240-4870-806a-4e254c8c314b
2014-11-27 22:02:48:601 - info: [debug] Removing any remaining instruments sockets

2014-11-27 22:02:48:601 - info: [debug] Cleaned up instruments socket /tmp/instruments_sock
2014-11-27 22:02:48:601 - info: [debug] Setting Xcode folder

2014-11-27 22:02:48:612 - info: [debug] Setting Xcode version

2014-11-27 22:02:48:700 - info: [debug] Setting iOS SDK Version

2014-11-27 22:02:48:780 - info: [debug] Getting sdk version from xcrun with a timeout

2014-11-27 22:02:48:789 - error: xcrun threw an error Error: Command failed: xcrun: error: unrecognized option: --show-sdk-version

usage: 
xcrun [-verbose] [-no-cache] [-sdk <sdkroot>] [-log] [-run] <utility> [argument ...]
xcrun [-verbose] [-no-cache] [-sdk <sdkroot>] -find <utility> 
<tool> [tool arguments ...]