{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/7569","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/7569/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/7569/comments","events_url":"https://api.github.com/repos/appium/appium/issues/7569/events","html_url":"https://github.com/appium/appium/issues/7569","id":196412208,"number":7569,"title":"Unable to start appium ( 1.6.1 beta ) in iPad “Error: Command ‘idevicedate -u … exited with code 255:”","user":{"login":"Kirubaharan235","id":24383517,"avatar_url":"https://avatars.githubusercontent.com/u/24383517?v=3","gravatar_id":"","url":"https://api.github.com/users/Kirubaharan235","html_url":"https://github.com/Kirubaharan235","followers_url":"https://api.github.com/users/Kirubaharan235/followers","following_url":"https://api.github.com/users/Kirubaharan235/following{/other_user}","gists_url":"https://api.github.com/users/Kirubaharan235/gists{/gist_id}","starred_url":"https://api.github.com/users/Kirubaharan235/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kirubaharan235/subscriptions","organizations_url":"https://api.github.com/users/Kirubaharan235/orgs","repos_url":"https://api.github.com/users/Kirubaharan235/repos","events_url":"https://api.github.com/users/Kirubaharan235/events{/privacy}","received_events_url":"https://api.github.com/users/Kirubaharan235/received_events","type":"User","site_admin":false},"labels":[{"id":143265062,"url":"https://api.github.com/repos/appium/appium/labels/NeedsTriage","name":"NeedsTriage","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-19T13:21:51Z","updated_at":"2016-12-20T05:24:08Z","closed_at":null,"body":"## The problem\r\niOS : JAVA : Eclipse : Appium 1.6.1 beta :Unable to start WebDriverAgent: Error: Command 'idevicedate -u 8fxxxxxxxxxx4a2aa6154cf29bd79ac6cd93686c' exited with code 255\r\n\r\nI am running appium for iOS using iPad 9.3.3 using JAVA in ECLIPSE.\r\n\r\nJust now I updated to appium 1.6.1 beta and tried running the code which was running OK with 1.6.0.\r\nBut I am getting the below error.\r\n\r\n\"Unable to start WebDriverAgent: Error: Command 'idevicedate -u 8fxxxxxxxxxx4a2aa6154cf29bd79ac6cd93686c' exited with code 255\"\r\n\r\nunable to proceed. I tried updating libimobiledevice,but still no help.\r\nPlease help.\r\n\r\n## Environment\r\niOS : JAVA : Eclipse : Appium 1.6.1 beta\r\n\r\n\r\n## Details\r\n\r\nDescribe in more detail the problem you have been experiencing, if necessary.\r\n\r\n## Link to Appium logs\r\nBelow are the logs:\r\n\r\nStarting Appium\r\n[Appium] Welcome to Appium v1.6.1-beta\r\n[Appium] Appium REST http interface listener started on 0.0.0.0:4723\r\n[HTTP] --> GET /wd/hub/status {}\r\n[debug] [MJSONWP] Calling AppiumDriver.getStatus() with args: []\r\n[debug] [MJSONWP] Responding to client with driver.getStatus() result: {\"build\":{\"version\":\"1.6.1-beta\",\"revision\":null}}\r\n_[HTTP] <-- GET /wd/hub/status 200 19 ms - 88 _\r\nAppium server started http://0.0.0.0:4723/wd/hub\r\n[HTTP] --> POST /wd/hub/session {\"desiredCapabilities\":{\"app\":\"/Users/kiruba-3665/Library/Developer/Xcode/DerivedData/zohoform-apfvajhhubdtpddzzgymxvssgkev/Build/Products/Release-iphoneos/Zoho Forms.app\",\"noReset\":true,\"version\":\"\",\"deviceName\":\"Zoho forms testing iPad\",\"fullReset\":false,\"platform\":\"iOS\",\"realDeviceLogger\":\"/usr/local/lib/nodemodules/deviceconsole/deviceconsole\",\"platformVersion\":\"9.3.3\",\"automationName\":\"XCUITest\",\"locationContextEnabled\":true,\"browserName\":\"\",\"coreSimulator\":\"/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework\",\"udid\":\"8faa9215c8314a2aa6154cf29bd79ac6cd93686c\",\"platformName\":\"iOS\"}}_\r\n[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{\"app\":\"/Users/kiruba-3665/Library/Developer/Xcode/DerivedData/zohoform-apfvajhhubdtpddzzgymxvssgkev/Build/Products/Release-iphoneos/Zoho Forms.app\",\"noReset\":true,\"version\":\"\",\"deviceName\":\"Zoho forms testing iPad\",\"fullReset\":false,\"platform\":\"iOS\",\"realDeviceLogger\":\"/usr/local/lib/nodemodules/deviceconsole/deviceconsole\",\"platformVersion\":\"9.3.3\",\"automationName\":\"XCUITest\",\"locationContextEnabled\":true,\"browserName\":\"\",\"coreSimulator\":\"/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework\",\"udid\":\"8faa9215c8314a2aa6154cf29bd79ac6cd93686c\",\"platformName\":\"iOS\"},null,null,null,null]_\r\n[Appium] Creating new XCUITestDriver session\r\n[Appium] Capabilities:\r\n[Appium] app: '/Users/kiruba-3665/Library/Developer/Xcode/DerivedData/zohoform-apfvajhhubdtpddzzgymxvssgkev/Build/Products/Release-iphoneos/Zoho Forms.app'\r\n[Appium] noReset: true\r\n[Appium] version: ''\r\n[Appium] deviceName: 'Zoho forms testing iPad'\r\n[Appium] fullReset: false\r\n[Appium] platform: 'iOS'\r\n[Appium] realDeviceLogger: '/usr/local/lib/nodemodules/deviceconsole/deviceconsole'_\r\n[Appium] platformVersion: '9.3.3'\r\n[Appium] automationName: 'XCUITest'\r\n[Appium] locationContextEnabled: true\r\n[Appium] browserName: ''\r\n[Appium] coreSimulator: '/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework'\r\n[Appium] udid: '8faa9215c8314a2aa6154cf29bd79ac6cd93686c'\r\n[Appium] platformName: 'iOS'\r\n[debug] [XCUITest] XCUITestDriver version: 2.4.3\r\n[BaseDriver] The following capabilities were provided, but are not recognized by appium: version, platform, locationContextEnabled, coreSimulator.\r\n[BaseDriver] Session created with session id: d93b29e1-e97d-4dac-ad8e-d44601cc0d1f\r\n[debug] [XCUITest] Xcode version set to '7.3'\r\n[debug] [XCUITest] iOS SDK Version set to '9.3'\r\n[debug] [XCUITest] Available devices: 8faa9215c8314a2aa6154cf29bd79ac6cd93686c\r\n[debug] [XCUITest] Creating iDevice object with udid 8faa9215c8314a2aa6154cf29bd79ac6cd93686c\r\n[XCUITest] Determining device to run tests on: udid: '8faa9215c8314a2aa6154cf29bd79ac6cd93686c', real device: true\r\n[BaseDriver] Using local app '/Users/kiruba-3665/Library/Developer/Xcode/DerivedData/zohoform-apfvajhhubdtpddzzgymxvssgkev/Build/Products/Release-iphoneos/Zoho Forms.app'\r\n[debug] [XCUITest] Checking whether app '/Users/kiruba-3665/Library/Developer/Xcode/DerivedData/zohoform-apfvajhhubdtpddzzgymxvssgkev/Build/Products/Release-iphoneos/Zoho Forms.app' is actually present\r\n[debug] [XCUITest] App is present\r\n[debug] [ios-app-utils] Getting bundle ID from app '/Users/kiruba-3665/Library/Developer/Xcode/DerivedData/zohoform-apfvajhhubdtpddzzgymxvssgkev/Build/Products/Release-iphoneos/Zoho Forms.app': 'com.zoho.zohoform'\r\n[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog\r\n[debug] [iOSLog] Found idevicesyslog: '/usr/local/bin/idevicesyslog'\r\n[XCUITest] Setting up real device\r\n[debug] [XCUITest] App is already installed.\r\n[debug] [XCUITest] Full reset not requested. No need to install.\r\n[XCUITest] Using WDA path: '/usr/local/lib/nodemodules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'_\r\n[XCUITest] Using WDA agent: '/usr/local/lib/nodemodules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'_\r\n[XCUITest] Launching WebDriverAgent on the device\r\n[debug] [XCUITest] Carthage found: /usr/local/bin/carthage\r\n[debug] [XCUITest] Killing hanging processes\r\n[debug] [XCUITest] Using real device logger '/usr/local/lib/nodemodules/deviceconsole/deviceconsole'_\r\n[debug] [XCUITest] Beginning test with command 'xcodebuild build test -project /usr/local/lib/nodemodules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=8fxxxxxxxxxx4a2aa6154cf29bd79ac6cd93686c -configuration Debug' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'_\r\n[XCUITest] Unable to start WebDriverAgent: Error: Command 'idevicedate -u 8fxxxxxxxxxx4a2aa6154cf29bd79ac6cd93686c' exited with code 255\r\n[XCUITest] Unable to start WebDriverAgent: Error: Command 'idevicedate -u 8faa9215c8314a2aa6154cf29bd79ac6cd93686c' exited with code 255\r\n[XCUITest] Shutting down sub-processes\r\n[debug] [XCUITest] Reset not set, continuing\r\n[debug] [iOSLog] Stopping iOS log capture\r\n[MJSONWP] Encountered internal error running command: undefined\r\n[HTTP] <-- POST /wd/hub/session 500 1937 ms - 262\r\n\r\n\r\n## Code To Reproduce Issue [ Good To Have ]\r\n\r\nPlease remember that, with sample code; it's easier to reproduce bug and much faster to fix it.\r\n\r\nPlease git clone https://github.com/appium/sample-code and use one of your favourite languages and sample apps to reproduce issue.\r\n\r\nIn case a similar scenario is missing in sample-code, please submit a PR with one of the sample apps provided."},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/268158063","html_url":"https://github.com/appium/appium/issues/7569#issuecomment-268158063","issue_url":"https://api.github.com/repos/appium/appium/issues/7569","id":268158063,"user":{"login":"Kirubaharan235","id":24383517,"avatar_url":"https://avatars.githubusercontent.com/u/24383517?v=3","gravatar_id":"","url":"https://api.github.com/users/Kirubaharan235","html_url":"https://github.com/Kirubaharan235","followers_url":"https://api.github.com/users/Kirubaharan235/followers","following_url":"https://api.github.com/users/Kirubaharan235/following{/other_user}","gists_url":"https://api.github.com/users/Kirubaharan235/gists{/gist_id}","starred_url":"https://api.github.com/users/Kirubaharan235/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kirubaharan235/subscriptions","organizations_url":"https://api.github.com/users/Kirubaharan235/orgs","repos_url":"https://api.github.com/users/Kirubaharan235/repos","events_url":"https://api.github.com/users/Kirubaharan235/events{/privacy}","received_events_url":"https://api.github.com/users/Kirubaharan235/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T05:24:08Z","updated_at":"2016-12-20T05:24:08Z","body":"Hi imurchie,\r\nThe problem is not with libimobiledevice. I already have the latest version 1.2.0.(if thats the latest version).\r\nI am getting the error \r\n\"Unable to start WebDriverAgent: Error: Command 'idevicedate -u 8fxxxxxxxxxx4a2aa6154cf29bd79ac6cd93686c' exited with code 255\".\r\n\r\nSo I thought it could be a problem with old version of libimobiledevice. But it seems that I have the latest version."}}
{"actor":{"display_login":"Kirubaharan235"}}