{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/9103","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/9103/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/9103/comments","events_url":"https://api.github.com/repos/appium/appium/issues/9103/events","html_url":"https://github.com/appium/appium/issues/9103","id":253496174,"number":9103,"title":"Unknown Device or Simulator udid","user":{"login":"Rnij","id":31414829,"avatar_url":"https://avatars2.githubusercontent.com/u/31414829?v=4","gravatar_id":"","url":"https://api.github.com/users/Rnij","html_url":"https://github.com/Rnij","followers_url":"https://api.github.com/users/Rnij/followers","following_url":"https://api.github.com/users/Rnij/following{/other_user}","gists_url":"https://api.github.com/users/Rnij/gists{/gist_id}","starred_url":"https://api.github.com/users/Rnij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rnij/subscriptions","organizations_url":"https://api.github.com/users/Rnij/orgs","repos_url":"https://api.github.com/users/Rnij/repos","events_url":"https://api.github.com/users/Rnij/events{/privacy}","received_events_url":"https://api.github.com/users/Rnij/received_events","type":"User","site_admin":false},"labels":[{"id":223534254,"url":"https://api.github.com/repos/appium/appium/labels/NotABug","name":"NotABug","color":"eb6420","default":false},{"id":427212191,"url":"https://api.github.com/repos/appium/appium/labels/XCUITest","name":"XCUITest","color":"c5def5","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2017-08-29T00:39:20Z","updated_at":"2017-08-30T13:42:42Z","closed_at":null,"author_association":"NONE","body":"## The problem\r\n\r\nI am trying to launch the app on a real iOS device. Appium throws an error as Unknown Device or Simulator udid.\r\n\r\n## Environment\r\n\r\n* Appium version (or git revision) that exhibits the issue:1.6.5\r\n* Last Appium version that did not exhibit the issue (if applicable):\r\n* Desktop OS/version used to run Appium:10.12.5\r\n* Node.js version (unless using Appium.app|exe):\r\n* Mobile platform/version under test:10.3.3\r\n* Real device or emulator/simulator:iPad Pro\r\n* Appium CLI or Appium.app|exe:\r\n\r\n## Details\r\n\r\nFollowing are the Desired Capabilities that I am using\r\n\r\n{\r\n\"platformName\": \"iOS\",\r\n\"platformVersion\": \"10.3.3\",\r\n\"deviceName\": \"iPad Pro\",\r\n\"udid\": \"21dbb46b868acba3a5bc53832e2b571f9611b547\",\r\n\"bundleId\": \"com.davita.pod.QA\",\r\n\"automationName\": \"XCUITest\",\r\n\"xcodeOrgId\": \"AUP79D422L\",\r\n\"xCodeSigningId\": \"iphone Developer\"\r\n}\r\nWhen I connect my real iOS device and try to use access app, Appium is giving error as Unknown device or simulator. But device is connected to Mac. And in error I see \"The 'idevice_id' program is not installed. If you are running a real device test it is necessary. Install with 'brew install libimobiledevice --HEAD'\". If I try to install libimobiledevice using above command it displays that is is already installed.\r\n\r\n## Link to Appium logs\r\n\r\nHere are the Appium logs.\r\nBaseDriver] Event 'newSessionRequested' logged at 1503940238859 (12:10:38 GMT-0500 (CDT))\r\n[Appium] Creating new XCUITestDriver (v2.30.0) session\r\n[Appium] Capabilities:\r\n[Appium] automationName: 'XCUITest'\r\n[Appium] bundleId: 'com.davita.pod.QA'\r\n[Appium] deviceName: 'iPad Pro'\r\n[Appium] platformName: 'iOS'\r\n[Appium] platformVersion: '10.3.3'\r\n[Appium] udid: '21dbb46b868acba3a5bc53832e2b571f9611b547'\r\n[Appium] xCodeSigningId: 'iphone Developer'\r\n[Appium] xcodeOrgId: 'AUP79D422L'\r\n[Appium] newCommandTimeout: 0\r\n[Appium] connectHardwareKeyboard: true\r\n[XCUITest] XCUITestDriver version: 2.30.0\r\n[BaseDriver] The following capabilities were provided, but are not recognized by appium: xCodeSigningId.\r\n[BaseDriver] Session created with session id: 3f6cf65b-ec20-4758-b102-61403bff5728\r\n[XCUITest] Xcode version set to '8.3.3' (tools v8.3.2.0.1.1492020469)\r\n[XCUITest] iOS SDK Version set to '10.3'\r\n[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1503940239045 (12:10:39 GMT-0500 (CDT))\r\n[XCUITest] The 'idevice_id' program is not installed. If you are running a real device test it is necessary. Install with 'brew install libimobiledevice --HEAD'\r\n[XCUITest] Available devices:\r\n[XCUITest] Error: Unknown device or simulator UDID: '21dbb46b868acba3a5bc53832e2b571f9611b547'\r\nat XCUITestDriver.determineDevice$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:604:17)\r\nat tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\nat GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\nat GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js💯21)\r\nat GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\nat process._tickCallback (internal/process/next_tick.js:103:7)\r\nError: Unknown device or simulator UDID: '21dbb46b868acba3a5bc53832e2b571f9611b547'\r\nat XCUITestDriver.determineDevice$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:604:17)\r\nat tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\nat GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\nat GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js💯21)\r\nat GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\nat process._tickCallback (internal/process/next_tick.js:103:7)\r\n[XCUITest] Not clearing log files. Use clearSystemFiles capability to turn on.\r\n[MJSONWP] Encountered internal error running command: Error: Unknown device or simulator UDID: '21dbb46b868acba3a5bc53832e2b571f9611b547'\r\nat XCUITestDriver.determineDevice$ (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:604:17)\r\nat tryCatch (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\nat GeneratorFunctionPrototype.invoke [as _invoke] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\nat GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js💯21)\r\nat GeneratorFunctionPrototype.invoke (/Applications/Appium.app/Contents/Resources/app/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\nat process._tickCallback (internal/process/next_tick.js:103:7)\r\n[HTTP] <-- POST /wd/hub/session 500 525 ms - 213\r\n[HTTP] --> DELETE /wd/hub/session {}\r\n[HTTP] No route found. Setting content type to 'text/plain'\r\n[HTTP] <-- DELETE /wd/hub/session 404 13 ms - 57\r\n\r\n## Code To Reproduce Issue [ Good To Have ]\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/325994005","html_url":"https://github.com/appium/appium/issues/9103#issuecomment-325994005","issue_url":"https://api.github.com/repos/appium/appium/issues/9103","id":325994005,"user":{"login":"Rnij","id":31414829,"avatar_url":"https://avatars2.githubusercontent.com/u/31414829?v=4","gravatar_id":"","url":"https://api.github.com/users/Rnij","html_url":"https://github.com/Rnij","followers_url":"https://api.github.com/users/Rnij/followers","following_url":"https://api.github.com/users/Rnij/following{/other_user}","gists_url":"https://api.github.com/users/Rnij/gists{/gist_id}","starred_url":"https://api.github.com/users/Rnij/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rnij/subscriptions","organizations_url":"https://api.github.com/users/Rnij/orgs","repos_url":"https://api.github.com/users/Rnij/repos","events_url":"https://api.github.com/users/Rnij/events{/privacy}","received_events_url":"https://api.github.com/users/Rnij/received_events","type":"User","site_admin":false},"created_at":"2017-08-30T13:42:42Z","updated_at":"2017-08-30T13:42:42Z","author_association":"NONE","body":"  @mykola-mokhnach \r\nHow can I make sure the idevice_id command line utility is available in PATH and this environment variable is visible to appium process? "}}
{"actor":{"display_login":"Rnij"}}