The simulator launch is failing

I am trying to run iOS app on a simulator.

I have added the simulator udid & the device name to the capabilities however after the app & the wda were installed the app fails to launch.

Should I do anything else in order for it to be launch successfully?

Do notice that on regular device it works fine.

Any help will be most appreciated.

Log:
Last login: Thu Nov 9 23:15:57 on ttys000
Menys-MacBook-Pro:~ menypeled$ appium &
[1] 27279
Menys-MacBook-Pro:~ menypeled$ [Appium] Welcome to Appium v1.7.2-beta
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
Menys-MacBook-Pro:~ menypeled$ [HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:"/Users/menypeled/Documents/workspace/iOS_Appium/SkyGiraffe_5.12.3.app",“newCommandTimeout”:60,“platformVersion”:“11.0.1”,“xcodeOrgId”:“7Y5J2RJXYV”,“automationName”:“XCUITest”,“useNewWDA”:“false”,“udid”:“F11C4DF5-BB1F-4584-BD47-3A639529CBB6”,“platformName”:“iOS”,“deviceName”:“iPhone 8\t “,“updatedWDABundleId”:“beta.SkyGiraffe.SkyGiraffe”,“xcodeSigningId”:“iPhone Developer”}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:”/Users/menypeled/Documents/workspace/iOS_Appium/SkyGiraffe_5.12.3.app”,“newCommandTimeout”:60,“platformVersion”:“11.0.1”,“xcodeOrgId”:“7Y5J2RJXYV”,“automationName”:“XCUITest”,“useNewWDA”:“false”,“udid”:“F11C4DF5-BB1F-4584-BD47-3A639529CBB6”,“platformName”:“iOS”,“deviceName”:"iPhone 8\t ",“updatedWDABundleId”:“beta.SkyGiraffe.SkyGiraffe”,“xcodeSigningId”:“iPhone Developer”},null,null]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1510262414967 (23:20:14 GMT+0200 (IST))
[Appium] Creating new XCUITestDriver (v2.54.2) session
[Appium] Capabilities:
[Appium] app: ‘/Users/menypeled/Documents/workspace/iOS_Appium/SkyGiraffe_5.12.3.app’
[Appium] newCommandTimeout: 60
[Appium] platformVersion: ‘11.0.1’
[Appium] xcodeOrgId: ‘7Y5J2RJXYV’
[Appium] automationName: ‘XCUITest’
[Appium] useNewWDA: ‘false’
[Appium] udid: ‘F11C4DF5-BB1F-4584-BD47-3A639529CBB6’
[Appium] platformName: ‘iOS’
[Appium] deviceName: 'iPhone 8\t ’
[Appium] updatedWDABundleId: ‘beta.SkyGiraffe.SkyGiraffe’
[Appium] xcodeSigningId: ‘iPhone Developer’
[BaseDriver] Capability ‘useNewWDA’ changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Session created with session id: 114197fa-376c-4df4-8661-639159e4440d
[debug] [XCUITest] Xcode version set to ‘9.0.1’ (tools v9.0.1.0.1.1506734476)
[debug] [XCUITest] iOS SDK Version set to ‘11.0’
[debug] [BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1510262415184 (23:20:15 GMT+0200 (IST))
[debug] [XCUITest] Changing deviceName from 'iPhone 8 ’ to ‘iPhone2017-A’
[iOSSim] Constructing iOS simulator for Xcode version 9.0.1 with udid ‘F11C4DF5-BB1F-4584-BD47-3A639529CBB6’
[XCUITest] Determining device to run tests on: udid: ‘F11C4DF5-BB1F-4584-BD47-3A639529CBB6’, real device: false
[BaseDriver] Using local app ‘/Users/menypeled/Documents/workspace/iOS_Appium/SkyGiraffe_5.12.3.app’
[debug] [BaseDriver] Event ‘appConfigured’ logged at 1510262415627 (23:20:15 GMT+0200 (IST))
[debug] [XCUITest] Checking whether app ‘/Users/menypeled/Documents/workspace/iOS_Appium/SkyGiraffe_5.12.3.app’ is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app ‘/Users/menypeled/Documents/workspace/iOS_Appium/SkyGiraffe_5.12.3.app’: ‘beta.SkyGiraffe.SkyGiraffe’
[debug] [BaseDriver] Event ‘resetStarted’ logged at 1510262415639 (23:20:15 GMT+0200 (IST))
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[debug] [BaseDriver] Event ‘resetComplete’ logged at 1510262415760 (23:20:15 GMT+0200 (IST))
[debug] [iOSLog] Starting iOS 11.0 simulator log capture
[debug] [iOSLog] System log path: /Users/menypeled/Library/Logs/CoreSimulator/F11C4DF5-BB1F-4584-BD47-3A639529CBB6/system.log
[debug] [BaseDriver] Event ‘logCaptureStarted’ logged at 1510262415943 (23:20:15 GMT+0200 (IST))
[XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOSSim] Setting common Simulator preferences to {“ConnectHardwareKeyboard”:false}
[debug] [iOSSim] Updated shared Simulator preferences at ‘/Users/menypeled/Library/Preferences/com.apple.iphonesimulator.plist’ with {“ConnectHardwareKeyboard”:false}
[debug] [iOSSim] The count of running Simulator UI client instances is 0
[iOSSim] Booting Simulator with UDID F11C4DF5-BB1F-4584-BD47-3A639529CBB6…
[iOSSim] Starting Simulator UI with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID F11C4DF5-BB1F-4584-BD47-3A639529CBB6 -ConnectHardwareKeyboard 0
[debug] [iOSSim] The count of running Simulator UI client instances is 1
[iOSSim] Simulator with UDID F11C4DF5-BB1F-4584-BD47-3A639529CBB6 booted in 24 seconds
[debug] [BaseDriver] Event ‘simStarted’ logged at 1510262440373 (23:20:40 GMT+0200 (IST))
[debug] [XCUITest] Reset requested. Removing app with id ‘beta.SkyGiraffe.SkyGiraffe’ from the device
[debug] [XCUITest] Installing ‘/Users/menypeled/Documents/workspace/iOS_Appium/SkyGiraffe_5.12.3.app’ on Simulator with UUID ‘F11C4DF5-BB1F-4584-BD47-3A639529CBB6’…
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event ‘appInstalled’ logged at 1510262460510 (23:21:00 GMT+0200 (IST))
[XCUITest] Using WDA path: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[debug] [XCUITest] Capability ‘useNewWDA’ set to false, so trying to reuse currently running WDA instance at ‘http://localhost:8100/
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [XCUITest] WDA is not listening at ‘http://localhost:8100/’. Rebuilding…
[debug] [BaseDriver] Event ‘wdaStartAttempted’ logged at 1510262460920 (23:21:00 GMT+0200 (IST))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[debug] [XCUITest] Killing running processes ‘xcodebuild.*F11C4DF5-BB1F-4584-BD47-3A639529CBB6, iproxy 8100, F11C4DF5-BB1F-4584-BD47-3A639529CBB6.*XCTRunner’ for the device F11C4DF5-BB1F-4584-BD47-3A639529CBB6…
[debug] [XCUITest] ‘pgrep -nif xcodebuild.*F11C4DF5-BB1F-4584-BD47-3A639529CBB6’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] ‘pgrep -nif iproxy 8100’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] ‘pgrep -nif F11C4DF5-BB1F-4584-BD47-3A639529CBB6.*XCTRunner’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] Using Xcode 9.0.1, so fixing WDA codebase
[debug] [XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=F11C4DF5-BB1F-4584-BD47-3A639529CBB6 IPHONEOS_DEPLOYMENT_TARGET=11.0’ in directory ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[debug] [XCUITest] Output from xcodebuild will not be logged. To see xcode logging, use ‘showXcodeLog’ desired capability
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [XCUITest] Log file for xcodebuild test: /var/folders/mr/lbh2rfw568g5v74x7g7vgx440000gn/T/com.apple.dt.XCTest/IDETestRunSession-0933A387-5D41-42A9-B935-C19E99CD36CC/WebDriverAgentRunner-134CD079-C450-44DA-AC48-402D134CAE94/Session-WebDriverAgentRunner-2017-11-09_232112-DPyMfU.log
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: “{\n “value” : {\n “state” : “success”,\n “os” : {\n “name” : “iOS”,\n “version” : “11.0.1”\n },\n “ios” : {\n “simulatorVersion” : “11.0.1”,\n “ip” : “192.168.1.100”\n },\n “build” : {\n “time” : “Nov 9 2017 22:47:22”\n }\n },\n “sessionId” : “8AC5DB0F-470C-4051-8289-BF1B4F56F024”,\n “status” : 0\n}”
[debug] [XCUITest] WebDriverAgent running on ip ‘192.168.1.100’
[debug] [XCUITest] WebDriverAgent successfully started after 19311ms
[debug] [BaseDriver] Event ‘wdaSessionAttempted’ logged at 1510262480371 (23:21:20 GMT+0200 (IST))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“beta.SkyGiraffe.SkyGiraffe”,“arguments”:[],“environment”:{},“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
[debug] [JSONWP Proxy] Got response with status 200: {“value”:“Failed to launch beta.SkyGiraffe.SkyGiraffe application”,“sessionId”:“8AC5DB0F-470C-4051-8289-BF1B4F56F024”,“status”:13}
[debug] [XCUITest] Failed to create WDA session. Retrying…
[debug] [BaseDriver] Event ‘wdaSessionAttempted’ logged at 1510262663687 (23:24:23 GMT+0200 (IST))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“beta.SkyGiraffe.SkyGiraffe”,“arguments”:[],“environment”:{},“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}
open .

Are you able to launch /Users/menypeled/Documents/workspace/iOS_Appium/SkyGiraffe_5.12.3.app from XCode into the iPhone8 simulator ?

Yes.

From Xcode I can build it into the xcoode & it is installed & can be lunched successfully.

I have Tried to build the .app file from xcode by choosing the 3 options (Testing, Running & profiling) But the issue remains.
This is desired capabilities:

Does it look OK? Are there any special preconditions I am missing for simulator?
capabilities.setCapability(MobileCapabilityType.DEVICE_NAME,genMeth.getValueFromPropFile(“deviceName”));

	capabilities.setCapability("platformVersion","11.1");
	capabilities.setCapability("clearSystemFiles","true");
	capabilities.setCapability("app",genMeth.getValueFromPropFile("appPath"));
	capabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME,AutomationName.IOS_XCUI_TEST);
	capabilities.setCapability("xcodeOrgId", "7Y5J2RJXYV");
	capabilities.setCapability("xcodeSigningId", "iPhone Developer");
	capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME,"iOS");
	capabilities.setCapability("useNewWDA", "false");
	capabilities.setCapability("newCommandTimeout", 45);

When running our code the following occurs (see below log):

It seems that the WDA & our app is installed successfully on the simulator however after that nothing is written to the log & it seems like nothing is sent to the appium server anymore.
So the app fails to lunch & nothing happens.

==================
wWDA":“false”,“platformName”:“iOS”,“deviceName”:“iPhone 6”,“xcodeSigningId”:“iPhone Developer”}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:"/Users/meny.peled/git/iOS_V6_Appium/Beta_Running.app",“clearSystemFiles”:“true”,“newCommandTimeout”:45,“platformVersion”:“11.1”,“xcodeOrgId”:“7Y5J2RJXYV”,“automationName”:“XCuiTest”,“useNewWDA”:“false”,“platformName”:“iOS”,“deviceName”:“iPhone 6”,“xcodeSigningId”:“iPhone Developer”},null,null]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1510501013032 (17:36:53 GMT+0200 (IST))
[Appium] Creating new XCUITestDriver (v2.58.1) session
[Appium] Capabilities:
[Appium] app: ‘/Users/meny.peled/git/iOS_V6_Appium/Beta_Running.app’
[Appium] clearSystemFiles: ‘true’
[Appium] newCommandTimeout: 45
[Appium] platformVersion: ‘11.1’
[Appium] xcodeOrgId: ‘7Y5J2RJXYV’
[Appium] automationName: ‘XCuiTest’
[Appium] useNewWDA: ‘false’
[Appium] platformName: ‘iOS’
[Appium] deviceName: ‘iPhone 6’
[Appium] xcodeSigningId: ‘iPhone Developer’
[BaseDriver] Capability ‘useNewWDA’ changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Capability ‘clearSystemFiles’ changed from string to boolean. This may cause unexpected behavior
[BaseDriver] Session created with session id: a4ea296a-9d80-455f-8475-010264a3cc65
[debug] [XCUITest] Current user: ‘meny.peled’
[debug] [XCUITest] Xcode version set to ‘9.1’ (tools v9.0.1.0.1.1506734476)
[debug] [XCUITest] iOS SDK Version set to ‘11.1’
[debug] [BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1510501013118 (17:36:53 GMT+0200 (IST))
[iOSSim] Constructing iOS simulator for Xcode version 9.1 with udid ‘78142794-BE76-4AD9-8DA2-44E54ED2A636’
[XCUITest] Determining device to run tests on: udid: ‘78142794-BE76-4AD9-8DA2-44E54ED2A636’, real device: false
[BaseDriver] Using local app ‘/Users/meny.peled/git/iOS_V6_Appium/Beta_Running.app’
[debug] [BaseDriver] Event ‘appConfigured’ logged at 1510501013303 (17:36:53 GMT+0200 (IST))
[debug] [XCUITest] Checking whether app ‘/Users/meny.peled/git/iOS_V6_Appium/Beta_Running.app’ is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app ‘/Users/meny.peled/git/iOS_V6_Appium/Beta_Running.app’: ‘alpha.skygiraffe.skygiraffe’
[debug] [BaseDriver] Event ‘resetStarted’ logged at 1510501013306 (17:36:53 GMT+0200 (IST))
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[debug] [BaseDriver] Event ‘resetComplete’ logged at 1510501013387 (17:36:53 GMT+0200 (IST))
[debug] [iOSLog] Starting iOS 11.1 simulator log capture
[debug] [iOSLog] System log path: /Users/meny.peled/Library/Logs/CoreSimulator/78142794-BE76-4AD9-8DA2-44E54ED2A636/system.log
[debug] [BaseDriver] Event ‘logCaptureStarted’ logged at 1510501013519 (17:36:53 GMT+0200 (IST))
[XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOSSim] No Simulator cache items for cleanup were matched in ‘/Users/meny.peled/Library/Developer/CoreSimulator/Devices/78142794-BE76-4AD9-8DA2-44E54ED2A636/data/Library/Caches’
[debug] [iOSSim] Setting common Simulator preferences to {“ConnectHardwareKeyboard”:false}
[debug] [iOSSim] Updated shared Simulator preferences at ‘/Users/meny.peled/Library/Preferences/com.apple.iphonesimulator.plist’ with {“ConnectHardwareKeyboard”:false}
[debug] [iOSSim] The count of running Simulator UI client instances is 0
[iOSSim] Booting Simulator with UDID 78142794-BE76-4AD9-8DA2-44E54ED2A636…
[iOSSim] Starting Simulator UI with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 78142794-BE76-4AD9-8DA2-44E54ED2A636 -ConnectHardwareKeyboard 0
[debug] [iOSSim] The count of running Simulator UI client instances is 1
[iOSSim] Simulator with UDID 78142794-BE76-4AD9-8DA2-44E54ED2A636 booted in 7 seconds
[debug] [BaseDriver] Event ‘simStarted’ logged at 1510501020901 (17:37:00 GMT+0200 (IST))
[debug] [XCUITest] Reset requested. Removing app with id ‘alpha.skygiraffe.skygiraffe’ from the device
[debug] [XCUITest] Installing ‘/Users/meny.peled/git/iOS_V6_Appium/Beta_Running.app’ on Simulator with UUID ‘78142794-BE76-4AD9-8DA2-44E54ED2A636’…
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event ‘appInstalled’ logged at 1510501024458 (17:37:04 GMT+0200 (IST))
[XCUITest] Using WDA path: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[debug] [XCUITest] Capability ‘useNewWDA’ set to false, so trying to reuse currently running WDA instance at ‘http://localhost:8100/
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [XCUITest] WDA is not listening at ‘http://localhost:8100/’. Rebuilding…
[debug] [BaseDriver] Event ‘wdaStartAttempted’ logged at 1510501024481 (17:37:04 GMT+0200 (IST))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[debug] [XCUITest] Killing running processes ‘xcodebuild.*78142794-BE76-4AD9-8DA2-44E54ED2A636, iproxy 8100, 78142794-BE76-4AD9-8DA2-44E54ED2A636.*XCTRunner’ for the device 78142794-BE76-4AD9-8DA2-44E54ED2A636…
[debug] [XCUITest] ‘pgrep -nif xcodebuild.*78142794-BE76-4AD9-8DA2-44E54ED2A636’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] ‘pgrep -nif iproxy 8100’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] ‘pgrep -nif 78142794-BE76-4AD9-8DA2-44E54ED2A636.*XCTRunner’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] Using Xcode 9.1, so fixing WDA codebase
[debug] [XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=78142794-BE76-4AD9-8DA2-44E54ED2A636 IPHONEOS_DEPLOYMENT_TARGET=11.1’ in directory ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[debug] [XCUITest] Output from xcodebuild will not be logged. To see xcode logging, use ‘showXcodeLog’ desired capability
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [XCUITest] Log file for xcodebuild test: /var/folders/2y/q461q61x5s90chg3jylqy1mmbtwhr6/T/com.apple.dt.XCTest/IDETestRunSession-8A13F4F9-CA4E-464B-AFA7-991C264B998C/WebDriverAgentRunner-AC3A6B08-4490-435B-A51D-6E3667DB4C22/Session-WebDriverAgentRunner-2017-11-12_173707-WpIxHx.log
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Got response with status 200: “{\n “value” : {\n “state” : “success”,\n “os” : {\n “name” : “iOS”,\n “version” : “11.1”\n },\n “ios” : {\n “simulatorVersion” : “11.1”,\n “ip” : “10.218.64.219”\n },\n “build” : {\n “time” : “Nov 9 2017 17:22:04”\n }\n },\n “sessionId” : “55932FCC-846D-44D2-BA44-32725A997FE8”,\n “status” : 0\n}”
[debug] [XCUITest] WebDriverAgent running on ip ‘10.218.64.219’
[debug] [XCUITest] WebDriverAgent successfully started after 4944ms
[debug] [BaseDriver] Event ‘wdaSessionAttempted’ logged at 1510501029543 (17:37:09 GMT+0200 (IST))
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“alpha.skygiraffe.skygiraffe”,“arguments”:[],“environment”:{},“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:false,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}

Please open new issue under https://github.com/appium/appium/issues and share the id here. Looks quite interesting challenge to solve

Opened a bug:

Simulator fails to launch #9633

Thre was no issue,

The problem was that when we signed the app that we are testing we didn’t choose in the xcode the specific simulator.
Once we signed it properly for that simulator, it worked fine.