Hi,
Am getting bellow error when running on Simulator8
info: Welcome to Appium v1.2.2 (REV cf6ff5939ddc6b4d45fcbabfbfe13c950e0058c4)
info: Appium REST http interface listener started on 0.0.0.0:4723
info: [debug] Non-default server args: {“safari”:true,“browserName”:“Safari”,“defaultDevice”:true,“showSimulatorLog”:true,“defaultCommandTimeout”:7200}
warn: Deprecated server args: {"–show-sim-log":“use instead: --show-ios-log”}
info: LogLevel: debug
info: --> GET /wd/hub/status {}
info: [debug] Responding to client with success: {“status”:0,“value”:{“build”:{“version”:“1.2.2”,“revision”:“cf6ff5939ddc6b4d45fcbabfbfe13c950e0058c4”}}}
info: <-- GET /wd/hub/status 200 5.933 ms - 104 {“status”:0,“value”:{“build”:{“version”:“1.2.2”,“revision”:“cf6ff5939ddc6b4d45fcbabfbfe13c950e0058c4”}}}
info: --> POST /wd/hub/session {“desiredCapabilities”:{“platformVersion”:“8”,“platformName”:“iOS”,“deviceName”:“iPhone Simulator”,“browserName”:“safari”}}
info: [debug] Configuring Safari session
info: [debug] Trying to use mobile safari, version 8
info: [debug] Looking for built in app MobileSafari
info: [debug] Got configuration error, not starting session
info: [debug] Cleaning up appium session
info: [debug] Error: ENOENT, stat ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.sdk/Applications’
error: Could not prepare mobile safari with version ‘8’: Error: ENOENT, stat ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.sdk/Applications’
info: [debug] Responding to client with error: {“status”:33,“value”:{“message”:“A new session could not be created. (Original error: ENOENT, stat ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.sdk/Applications’)”,“errno”:34,“code”:“ENOENT”,“path”:"/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.sdk/Applications",“origValue”:“ENOENT, stat ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.sdk/Applications’”},“sessionId”:null}
info: <-- POST /wd/hub/session 500 13.506 ms - 567
error: Failed to start an Appium session, err was: Error: ENOENT, stat ‘/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.sdk/Applications’