Appium Setup on Mac issues, unable to interact with device

I have setup appium on Mac for iOS. when i run the testcase it fails to interact with device everytime.

please help me if anyone encounterd the same issue.

Arun

Please provide logs and more description.

info: [debug] Xcode version set to 7.2.1

info: [debug] Setting iOS SDK Version

error: Could not determine iOS SDK version

info: [debug] Cleaning up appium session

error: Failed to start an Appium session, err was: Error: Command failed: /bin/sh -c xcrun --sdk iphonesimulator --show-sdk-version

info: [debug] Error: Command failed: /bin/sh -c xcrun --sdk iphonesimulator --show-sdk-version

at ChildProcess.exithandler (child_process.js:751:12)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Process.ChildProcess._handle.onexit (child_process.js:1087:5)

info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: Command failed: /bin/sh -c xcrun --sdk iphonesimulator --show-sdk-version\n)”,“cause”:{“killed”:true,“code”:null,“signal”:“SIGTERM”,“cmd”:"/bin/sh -c xcrun --sdk iphonesimulator --show-sdk-version"},“isOperational”:true,“killed”:true,“code”:null,“signal”:“SIGTERM”,“cmd”:"/bin/sh -c xcrun --sdk iphonesimulator --show-sdk-version",“origValue”:“Command failed: /bin/sh -c xcrun --sdk iphonesimulator --show-sdk-version\n”},“sessionId”:null}
info: <-- POST /wd/hub/session 500 9405.154 ms - 525

can you run this on terminal. if it works try authorising ios.