Upgraded Appium and Xcode now error in appium

Appium 1.2.2 and xcode 6.0.1
info: [debug] Setting iOS SDK Version

error: Could not determine Xcode version:Could not parse Xcode version (xcodebuild output was: )

error: Could not get the iOS SDK version because the Xcode version could not be determined.

info: [debug] iOS SDK Version set to null

error: Could not determine iOS SDK version:Could not get the iOS SDK version because the Xcode version could not be determined.

info: [debug] Detecting automation tracetemplate

error: Could not find Automation.tracetemplate in /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate

Could anyone help?

You need to wait for Appium v1.3

Have your tried to install Xcode 5.1.1 https://developer.apple.com/downloads/?

You can have both Xcode installed on same machine and select the version you want to use in Command Line with

sudo xcode-select -switch /Applications/Xcode.app