Nah - I still cant get the java program to bring up the simulator . Though the desktop client showed me these logs telling me that something is up
[Appium]Welcome to Appium v1.6.4
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {âdesiredCapabilitiesâ:{âappâ:"/Users/xyz/Desktop/abc.app",âautomationNameâ:âXCUITestâ,âdeviceNameâ:âiPhone 6â,âplatformNameâ:âiOSâ,âplatformVersionâ:â10.3â,ânewCommandTimeoutâ:0,âconnectHardwareKeyboardâ:true}}
[MJSONWP] Calling AppiumDriver.createSession() with args: [{âappâ:"/Users/xyz/Desktop/abc.app",âautomationNameâ:âXCUITestâ,âdeviceNameâ:âiPhone 6â,âplatformNameâ:âiOSâ,âplatformVersionâ:â10.3â,ânewCommandTimeoutâ:0,âconnectHardwareKeyboardâ:true},null,null,null,null]
[BaseDriver] Event ânewSessionRequestedâ logged at 1493658665799 (10:11:05 GMT-0700 (PDT))
[Appium] Creating new XCUITestDriver (v2.27.2) session
[Appium] Capabilities:
[Appium] app: â/Users/xyz/Desktop/abc.appâ
[Appium] automationName: âXCUITestâ
[Appium] deviceName: âiPhone 6â
[Appium] platformName: âiOSâ
[Appium] platformVersion: â10.3â
[Appium] newCommandTimeout: 0
[Appium] connectHardwareKeyboard: true
[XCUITest] XCUITestDriver version: 2.27.2
[BaseDriver] Session created with session id: bec5e98d-5983-4d93-af3f-e5e02294657d
[XCUITest] Xcode version set to â8.3.2â (tools v8.3.0.0.1.1490382677)
[XCUITest] iOS SDK Version set to â10.3â
[BaseDriver] Event âxcodeDetailsRetrievedâ logged at 1493658666052 (10:11:06 GMT-0700 (PDT))
[iOSSim] Constructing iOS simulator for Xcode version 8.3.2 with udid âFB89C4FB-E6A3-48C1-9DA7-6D1774CD0BB9â
[XCUITest] Determining device to run tests on: udid: âFB89C4FB-E6A3-48C1-9DA7-6D1774CD0BB9â, real device: false
[BaseDriver] Using local app â/Users/xyz/Desktop/abc.appâ
[BaseDriver] Event âappConfiguredâ logged at 1493658666283 (10:11:06 GMT-0700 (PDT))
[XCUITest] Checking whether app â/Users/xyz/Desktop/abc.appâ is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app â/Users/xyz/Desktop/abc.appâ: âcom.xyz.abcIntroâ
[XCUITest] Setting âconnectHardwareKeyboardâ Simulator option to âonâ
[BaseDriver] Event âresetStartedâ logged at 1493658666285 (10:11:06 GMT-0700 (PDT))
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[BaseDriver] Event âresetCompleteâ logged at 1493658666388 (10:11:06 GMT-0700 (PDT))
[iOSLog] Starting iOS 10.3 simulator log capture
[iOSLog] System log path: /Users/xyz/Library/Logs/CoreSimulator/FB89C4FB-E6A3-48C1-9DA7-6D1774CD0BB9/system.log
[BaseDriver] Event âlogCaptureStartedâ logged at 1493658666507 (10:11:06 GMT-0700 (PDT))
[XCUITest] Setting up simulator
[iOS] No reason to set locale
[iOS] No iOS / app preferences to set
[XCUITest] Simulator with udid âFB89C4FB-E6A3-48C1-9DA7-6D1774CD0BB9â not booted. Booting up now
[iOSSim] Killing all iOS Simulators
[iOSSim] Simulator is not running. ContinuingâŚ
[iOSSim] Starting simulator with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID FB89C4FB-E6A3-48C1-9DA7-6D1774CD0BB9
[XCUITest] Reset requested. Removing app with id âcom.xyz.abcIntroâ from the device
[iOSSim] Simulator booted in 16308ms
[BaseDriver] Event âsimStartedâ logged at 1493658683037 (10:11:23 GMT-0700 (PDT))
[XCUITest] Installing /Users/xyz/Desktop/abc.app on Simulator with UUID âFB89C4FB-E6A3-48C1-9DA7-6D1774CD0BB9ââŚ
[XCUITest] The app has been installed successfully.
[BaseDriver] Event âappInstalledâ logged at 1493658689573 (10:11:29 GMT-0700 (PDT))
[BaseDriver] Event âwdaStartAttemptedâ logged at 1493658689577 (10:11:29 GMT-0700 (PDT))
[XCUITest] Using WDA path: â/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgentâ
[XCUITest] Using WDA agent: â/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeprojâ
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: â/usr/local/bin/carthageâ
[XCUITest] Killing hanging processes
[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=FB89C4FB-E6A3-48C1-9DA7-6D1774CD0BB9 -configuration Debug IPHONEOS_DEPLOYMENT_TARGET=10.3â in directory â/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgentâ
[XCUITest] Output from xcodebuild will not be logged
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[XCUITest] Log file for xcodebuild test: /Users/xyz/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/9733728D-7E70-435C-90F0-DBF63AFAE7AC/Session-WebDriverAgentRunner-2017-05-01_101131-jGg3uJ.log
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got response with status 200: â{\n âvalueâ : {\n âstateâ : âsuccessâ,\n âosâ : {\n ânameâ : âiOSâ,\n âversionâ : â10.3â\n },\n âiosâ : {\n âsimulatorVersionâ : â10.3â,\n âipâ : â192.168.200.117â\n },\n âbuildâ : {\n âtimeâ : âMay 1 2017 10:01:11â\n }\n },\n âsessionIdâ : â95779A67-84A6-428A-9423-F15E1708B17Eâ,\n âstatusâ : 0\n}â
[XCUITest] WebDriverAgent running on ip â192.168.200.117â
[XCUITest] WebDriverAgent successfully started after 8398ms
[BaseDriver] Event âwdaSessionAttemptedâ logged at 1493658698177 (10:11:38 GMT-0700 (PDT))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {âdesiredCapabilitiesâ:{âbundleIdâ:âcom.xyz.abcIntroâ,âargumentsâ:[],âenvironmentâ:{},âshouldWaitForQuiescenceâ:true,âshouldUseTestManagerForVisibilityDetectionâ:false,âmaxTypingFrequencyâ:60,âshouldUseSingletonTestManagerâ:true}}
[JSONWP Proxy] Got response with status 200: {âvalueâ:{âsessionIdâ:â1CCA61C0-3616-4C8A-8CF0-D6F4B5E612CCâ,âcapabilitiesâ:{âdeviceâ:âiphoneâ,âbrowserNameâ:âabcâ,âsdkVersionâ:â10.3â,âCFBundleIdentifierâ:âcom.xyz.abcIntroâ}},âsessionIdâ:â1CCA61C0-3616-4C8A-8CF0-D6F4B5E612CCâ,âstatusâ:0}
[BaseDriver] Event âwdaSessionStartedâ logged at 1493658700642 (10:11:40 GMT-0700 (PDT))
[XCUITest] Found WDA derived data folder: â/Users/xyz/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzyâ
[XCUITest] Found WDA derived data folder: â/Users/xyz/Library/Developer/Xcode/DerivedData/WebDriverAgent-ceakatlydgitcjebccsbdhchgrpnâ
[XCUITest] Setting â555â permissions to â/Users/xyz/Library/Developer/Xcode/DerivedData/WebDriverAgent-ceakatlydgitcjebccsbdhchgrpn/Logs/Test/Attachmentsâ folder
[XCUITest] Found WDA derived data folder: â/Users/xyz/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvsâ
[XCUITest] Setting â555â permissions to â/Users/xyz/Library/Developer/Xcode/DerivedData/WebDriverAgent-dikkwtrisltbeobjmfvpthwwekvs/Logs/Test/Attachmentsâ folder
[BaseDriver] Event âwdaPermsAdjustedâ logged at 1493658700646 (10:11:40 GMT-0700 (PDT))
[BaseDriver] Event âwdaStartedâ logged at 1493658700646 (10:11:40 GMT-0700 (PDT))
[XCUITest] Setting initial orientation to âPORTRAITâ
[JSONWP Proxy] Proxying [POST /orientation] to [POST http://localhost:8100/session/1CCA61C0-3616-4C8A-8CF0-D6F4B5E612CC/orientation] with body: {âorientationâ:âPORTRAITâ}
[JSONWP Proxy] Got response with status 200: {âvalueâ:{},âsessionIdâ:â1CCA61C0-3616-4C8A-8CF0-D6F4B5E612CCâ,âstatusâ:0}
[BaseDriver] Event âorientationSetâ logged at 1493658700815 (10:11:40 GMT-0700 (PDT))
[Appium] New XCUITestDriver session created successfully, session bec5e98d-5983-4d93-af3f-e5e02294657d added to master session list
[BaseDriver] Event ânewSessionStartedâ logged at 1493658700816 (10:11:40 GMT-0700 (PDT))
[MJSONWP] Responding to client with driver.createSession() result: {âwebStorageEnabledâ:false,âlocationContextEnabledâ:false,âbrowserNameâ:"",âplatformâ:âMACâ,âjavascriptEnabledâ:true,âdatabaseEnabledâ:false,âtakesScreenshotâ:true,ânetworkConnectionEnabledâ:false,âappâ:"/Users/xyz/Desktop/abc.app",âautomationNameâ:âXCUITestâ,âdeviceNameâ:âiPhone 6â,âplatformNameâ:âiOSâ,âplatformVersionâ:â10.3â,ânewCommandTimeoutâ:0,âconnectHardwareKeyboardâ:true,âudidâ:âFB89C4FB-E6A3-48C1-9DA7-6D1774CD0BB9â}
[HTTP] <-- POST /wd/hub/session 200 35024 ms - 510
[HTTP] --> POST /wd/hub/session/bec5e98d-5983-4d93-af3f-e5e02294657d/context {ânameâ:âNATIVE_APPâ}
[MJSONWP] Calling AppiumDriver.setContext() with args: [âNATIVE_APPâ,âbec5e98d-5983-4d93-af3f-e5e02294657dâ]
[XCUITest] Executing command âsetContextâ
[iOS] Attempting to set context to âNATIVE_APPâ
[MJSONWP] Responding to client with driver.setContext() result: null
[HTTP] <-- POST /wd/hub/session/bec5e98d-5983-4d93-af3f-e5e02294657d/context 200 4 ms - 76
[HTTP] --> GET /wd/hub/session/bec5e98d-5983-4d93-af3f-e5e02294657d/source {}
[MJSONWP] Calling AppiumDriver.getPageSource() with args: [âbec5e98d-5983-4d93-af3f-e5e02294657dâ]
[XCUITest] Executing command âgetPageSourceâ
[JSONWP Proxy] Proxying [GET /source] to [GET http://localhost:8100/session/1CCA61C0-3616-4C8A-8CF0-D6F4B5E612CC/source] with no body
[JSONWP Proxy] Got response with status 200: "{\n âvalueâ : "\n\n \n \n \n \n \n âŚ
[MJSONWP] Responding to client with driver.getPageSource() result: "\n \n \n \n \n \n \n
[HTTP] <-- GET /wd/hub/session/bec5e98d-5983-4d93-af3f-e5e02294657d/source 200 48 ms - 4263
[HTTP] --> GET /wd/hub/session/bec5e98d-5983-4d93-af3f-e5e02294657d/screenshot {}
[MJSONWP] Calling AppiumDriver.getScreenshot() with args: [âbec5e98d-5983-4d93-af3f-e5e02294657dâ]
[XCUITest] Executing command âgetScreenshotâ
[MJSONWP] Responding to client with driver.getScreenshot() result: "iVBORw0KGgoAAAANSUh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