Unable to launch the iOS app in iOS simulator 9.3 with Xcode9.3

Am unable to launch the iOS simulator, but is is getting installed in my simulator.

Below is the my desiredCapabilities
desiredCapabilities.setCapability(“deviceName”, “iphonsH”);
desiredCapabilities.setCapability(“platformName”, “iOS”);
desiredCapabilities.setCapability(CapabilityType.VERSION, “9.3”);
desiredCapabilities.setCapability(“useNewWDA”, true);
desiredCapabilities.setCapability(“platformVersion”, “9.3”);
desiredCapabilities.setCapability(“automationName”, “XCUITest”);
desiredCapabilities.setCapability(“newCommandTimeOut”, 1000);
desiredCapabilities.setCapability(“bundleId”, “com.appmobi.restPass”);
File appDir = new File("/Users/qa/Desktop/lib");
File app = new File(appDir, “PortfolioManager.app”);
desiredCapabilities.setCapability(“app”,app);

Environment
Appium : 1.7.2
Xcode : 9.3

Log File

[info] [Appium] Welcome to Appium v1.7.2
[info] [Appium] Appium REST http interface listener started on 0.0.0.0:4723[info] [HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“app”:"/Users/qa/Desktop/lib/PortfolioManager.app",“automationName”:“XCUITest”,“bundleId”:“com.appmobi.restPass”,“deviceName”:“iphonsH”,“newCommandTimeOut”:1000,“platformName”:“iOS”,“platformVersion”:“9.3”,“useNewWDA”:true,“version”:“9.3”},“capabilities”:{“desiredCapabilities”:{“app”:"/Users/qa/Desktop/lib/PortfolioManager.app",“automationName”:“XCUITest”,“bundleId”:“com.appmobi.restPass”,“deviceName”:“iphonsH”,“newCommandTimeOut”:1000,“platformName”:“iOS”,“platformVersion”:“9.3”,“useNewWDA”:true,“version”:“9.3”},“firstMatch”:[{“platformName”:“ios”}]}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“app”:"/Users/qa/Desktop/lib/PortfolioManager.app",“automationName”:“XCUITest”,“bundleId”:“com.appmobi.restPass”,“deviceName”:“iphonsH”,“newCommandTimeOut”:1000,“platformName”:“iOS”,“platformVersion”:“9.3”,“useNewWDA”:true,“version”:“9.3”},null,{“desiredCapabilities”:{“app”:"/Users/qa/Desktop/lib/PortfolioManager.app",“automationName”:“XCUITest”,“bundleId”:“com.appmobi.restPass”,“deviceName”:“iphonsH”,“newCommandTimeOut”:1000,“platformName”:“iOS”,“platformVersion”:“9.3”,“useNewWDA”:true,“version”:“9.3”},“firstMatch”:[{“platformName”:“ios”}]}]
[debug] [BaseDriver] Event ‘newSessionRequested’ logged at 1522995442868 (11:47:22 GMT+0530 (IST))
[info] [Appium] Merged W3C capabilities {“desiredCapabilities”:{“app”:"/Users/qa/Deskto… into desiredCapabilities object {“app”:"/Users/qa/Desktop/lib/PortfolioManager…
[info] [Appium] Creating new XCUITestDriver (v2.64.0) session
[info] [Appium] Capabilities:
[info] [Appium] app: /Users/qa/Desktop/lib/PortfolioManager.app
[info] [Appium] automationName: XCUITest
[info] [Appium] bundleId: com.appmobi.restPass
[info] [Appium] deviceName: iphonsH
[info] [Appium] newCommandTimeOut: 1000
[info] [Appium] platformName: ios
[info] [Appium] platformVersion: 9.3
[info] [Appium] useNewWDA: true
[info] [Appium] version: 9.3
[warn] [BaseDriver] The following capabilities were provided, but are not recognized by appium: newCommandTimeOut, version.
[info] [BaseDriver] Session created with session id: 2e211016-1aa8-41c2-8f72-f02b39032cae[debug] [XCUITest] Current version of libimobiledevice: stable 1.2.0 (bottled), HEAD[debug] [XCUITest] Xcode version set to ‘9.2’ (tools v9.3.0.0.1.1521514116)
[debug] [XCUITest] iOS SDK Version set to ‘11.2’
[debug] [BaseDriver] Event ‘xcodeDetailsRetrieved’ logged at 1522995449992 (11:47:29 GMT+0530 (IST))[info] [iOSSim] Constructing iOS simulator for Xcode version 9.2 with udid ‘700FEE9E-31FB-4F62-916E-2A0B486FF442’
[info] [XCUITest] Determining device to run tests on: udid: ‘700FEE9E-31FB-4F62-916E-2A0B486FF442’, real device: false
[info] [BaseDriver] Using local app ‘/Users/qa/Desktop/lib/PortfolioManager.app’
[debug] [BaseDriver] Event ‘appConfigured’ logged at 1522995450793 (11:47:30 GMT+0530 (IST))
[debug] [XCUITest] Checking whether app ‘/Users/qa/Desktop/lib/PortfolioManager.app’ is actually present on file system
[debug] [XCUITest] App is present
[debug] [BaseDriver] Event ‘resetStarted’ logged at 1522995450794 (11:47:30 GMT+0530 (IST))[info] [XCUITest] Not scrubbing third party app in anticipation of uninstall
[debug] [BaseDriver] Event ‘resetComplete’ logged at 1522995451029 (11:47:31 GMT+0530 (IST))
[debug] [XCUITest] Starting log capture for iOS Simulator with udid ‘700FEE9E-31FB-4F62-916E-2A0B486FF442’, using ‘xcrun simctl spawn 700FEE9E-31FB-4F62-916E-2A0B486FF442 log stream --style compact’[debug] [BaseDriver] Event ‘logCaptureStarted’ logged at 1522995451607 (11:47:31 GMT+0530 (IST))
[info] [XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOSSim] Matched 1 Simulator cache item for cleanup: /Users/qa/Library/Developer/CoreSimulator/Devices/700FEE9E-31FB-4F62-916E-2A0B486FF442/data/Library/Caches/com.apple.mobile.installd.staging
[debug] [iOSSim] Setting common Simulator preferences to {“ConnectHardwareKeyboard”:false}
[debug] [iOSSim] Updated 700FEE9E-31FB-4F62-916E-2A0B486FF442 Simulator preferences at ‘/Users/qa/Library/Preferences/com.apple.iphonesimulator.plist’ with {“ConnectHardwareKeyboard”:false}[debug] [iOSSim] The count of running Simulator UI client instances is 1
[info] [iOSSim] Both Simulator with UDID 700FEE9E-31FB-4F62-916E-2A0B486FF442 and the UI client are currently running
[debug] [BaseDriver] Event ‘simStarted’ logged at 1522995452816 (11:47:32 GMT+0530 (IST))[debug] [XCUITest] Installing ‘/Users/qa/Desktop/lib/PortfolioManager.app’ on Simulator with UUID ‘700FEE9E-31FB-4F62-916E-2A0B486FF442’…[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event ‘appInstalled’ logged at 1522995457008 (11:47:37 GMT+0530 (IST))
[info] [XCUITest] Using WDA path: ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[info] [XCUITest] Using WDA agent: ‘/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[debug] [XCUITest] Capability ‘useNewWDA’ set to true, so uninstalling WDA before proceeding
[info] [XCUITest] Shutting down sub-processes
[debug] [XCUITest] Removing WDA application from device[debug] [BaseDriver] Event ‘wdaUninstalled’ logged at 1522995457274 (11:47:37 GMT+0530 (IST))
[debug] [BaseDriver] Event ‘wdaStartAttempted’ logged at 1522995457275 (11:47:37 GMT+0530 (IST))
[info] [XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: ‘/usr/local/bin/carthage’
[debug] [XCUITest] Killing running processes ‘xcodebuild.*700FEE9E-31FB-4F62-916E-2A0B486FF442, iproxy 8100, 700FEE9E-31FB-4F62-916E-2A0B486FF442.*XCTRunner’ for the device 700FEE9E-31FB-4F62-916E-2A0B486FF442…
[debug] [XCUITest] ‘pgrep -nif xcodebuild.*700FEE9E-31FB-4F62-916E-2A0B486FF442’ 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 700FEE9E-31FB-4F62-916E-2A0B486FF442.*XCTRunner’ didn’t detect any matching processes. Return code: 1
[debug] [XCUITest] Using Xcode 9.2, so fixing WDA codebase
[debug] [XCUITest] Beginning test with command ‘xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=700FEE9E-31FB-4F62-916E-2A0B486FF442 IPHONEOS_DEPLOYMENT_TARGET=9.3’ in directory ‘/Applications/Appium.app/Contents/Resources/app/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/6f/9vw0qc6n14bflb5m295kmpcr0000gp/T/com.apple.dt.XCTest/IDETestRunSession-16CED877-2C27-4514-8348-0385E3AD9122/WebDriverAgentRunner-643B6E53-4F59-49F5-AC35-EA625319C494/Session-WebDriverAgentRunner-2018-04-06_114748-M2rH5P.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] 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 “sessionId” : “A8B247DF-C5C3-4774-8F8C-15912A3A8FF2”,\n “value” : {\n “state” : “success”,\n “os” : {\n “sdkVersion” : “11.2”,\n “name” : “iPhone OS”,\n “version” : “9.3”\n },\n “ios” : {\n “ip” : “192.168.6.148”,\n “simulatorVersion” : “9.3”\n },\n “build” : {\n “time” : “Apr 6 2018 11:16:01”\n }\n },\n “status” : 0\n}”
[debug] [XCUITest] WebDriverAgent running on ip ‘192.168.6.148’
[debug] [XCUITest] WebDriverAgent successfully started after 24109ms
[debug] [BaseDriver] Event ‘wdaSessionAttempted’ logged at 1522995481537 (11:48:01 GMT+0530 (IST))
[debug] [XCUITest] Sending createSession command to WDA
[info] [XCUITest] Forcing shouldUseSingletonTestManager capability value to true, because of known XCTest issues under 9.3 platform version
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {“desiredCapabilities”:{“bundleId”:“com.appmobi.restPass”,“arguments”:[],“environment”:{},“shouldWaitForQuiescence”:true,“shouldUseTestManagerForVisibilityDetection”:true,“maxTypingFrequency”:60,“shouldUseSingletonTestManager”:true}}

I am facing the same issue :frowning: Any workaround on this? Thanks.