{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium-xcuitest-driver/issues/17","repository_url":"https://api.github.com/repos/appium/appium-xcuitest-driver","labels_url":"https://api.github.com/repos/appium/appium-xcuitest-driver/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium-xcuitest-driver/issues/17/comments","events_url":"https://api.github.com/repos/appium/appium-xcuitest-driver/issues/17/events","html_url":"https://github.com/appium/appium-xcuitest-driver/issues/17","id":132563635,"number":17,"title":"Error: The following capabilities were provided, but are not recognized by appium: app","user":{"login":"michaelmendoza42","id":1046569,"avatar_url":"https://avatars.githubusercontent.com/u/1046569?v=3","gravatar_id":"","url":"https://api.github.com/users/michaelmendoza42","html_url":"https://github.com/michaelmendoza42","followers_url":"https://api.github.com/users/michaelmendoza42/followers","following_url":"https://api.github.com/users/michaelmendoza42/following{/other_user}","gists_url":"https://api.github.com/users/michaelmendoza42/gists{/gist_id}","starred_url":"https://api.github.com/users/michaelmendoza42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michaelmendoza42/subscriptions","organizations_url":"https://api.github.com/users/michaelmendoza42/orgs","repos_url":"https://api.github.com/users/michaelmendoza42/repos","events_url":"https://api.github.com/users/michaelmendoza42/events{/privacy}","received_events_url":"https://api.github.com/users/michaelmendoza42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-09T23:06:16Z","updated_at":"2016-05-03T08:16:32Z","closed_at":null,"body":"I think this is the root cause of the error but I'm seeing a few others in there which may also be relevant:\r\n\r\n\"The following capabilities were provided, but are not recognized by appium: app\" \r\n\r\n\"xcodebuild exited with code 70 and signal null\"\r\n\r\n\"Encountered internal error running command: TypeError: Cannot set property 'sessionId' of undefined'\r\n\r\nIf you need more of the logs let me know."},"comment":{"url":"https://api.github.com/repos/appium/appium-xcuitest-driver/issues/comments/216465157","html_url":"https://github.com/appium/appium-xcuitest-driver/issues/17#issuecomment-216465157","issue_url":"https://api.github.com/repos/appium/appium-xcuitest-driver/issues/17","id":216465157,"user":{"login":"iquicktest","id":3353616,"avatar_url":"https://avatars.githubusercontent.com/u/3353616?v=3","gravatar_id":"","url":"https://api.github.com/users/iquicktest","html_url":"https://github.com/iquicktest","followers_url":"https://api.github.com/users/iquicktest/followers","following_url":"https://api.github.com/users/iquicktest/following{/other_user}","gists_url":"https://api.github.com/users/iquicktest/gists{/gist_id}","starred_url":"https://api.github.com/users/iquicktest/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iquicktest/subscriptions","organizations_url":"https://api.github.com/users/iquicktest/orgs","repos_url":"https://api.github.com/users/iquicktest/repos","events_url":"https://api.github.com/users/iquicktest/events{/privacy}","received_events_url":"https://api.github.com/users/iquicktest/received_events","type":"User","site_admin":false},"created_at":"2016-05-03T08:16:32Z","updated_at":"2016-05-03T08:16:32Z","body":"same for me.\r\n\r\ninfo MJSONWP Calling WebDriverAgentDriver.createSession() with args: [{\"app\":\"/Users/jerryzhao/Desktop/HelloWorld.app\",\"locationServicesAuthorized\":\"false\",\"platformVersion\":\"9.3\",\"bundleId\":\"\",\"platformName\":\"iOS\",\"...\r\nERR! WebDriverAgent-driver SessionNotCreatedError: A new session could not be created. Details: Cannot create a new session while one is in progress\r\nERR! WebDriverAgent-driver     at WebDriverAgentDriver.callee$0$0$ (lib/commands/session.js:10:11)\r\nERR! WebDriverAgent-driver     at tryCatch (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\nERR! WebDriverAgent-driver     at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\nERR! WebDriverAgent-driver     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\nERR! WebDriverAgent-driver     at invoke (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\nERR! WebDriverAgent-driver     at enqueueResult (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:185:17)\r\nERR! WebDriverAgent-driver     at new Promise (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:197:7)\r\nERR! WebDriverAgent-driver     at AsyncIterator.enqueue (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:184:16)\r\nERR! WebDriverAgent-driver     at AsyncIterator.prototype.(anonymous function) [as next] (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\nERR! WebDriverAgent-driver     at Object.runtime.async (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:209:12)\r\nERR! WebDriverAgent-driver     at WebDriverAgentDriver.callee$0$0 (lib/commands/session.js:8:46)\r\nERR! WebDriverAgent-driver     at WebDriverAgentDriver.createSession$ (lib/driver.js:17:27)\r\nERR! WebDriverAgent-driver     at tryCatch (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\nERR! WebDriverAgent-driver     at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\nERR! WebDriverAgent-driver     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\nERR! WebDriverAgent-driver     at invoke (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\nERR! WebDriverAgent-driver     at enqueueResult (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:185:17)\r\nERR! WebDriverAgent-driver     at new Promise (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:197:7)\r\nERR! WebDriverAgent-driver     at AsyncIterator.enqueue (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:184:16)\r\nERR! WebDriverAgent-driver     at AsyncIterator.prototype.(anonymous function) [as next] (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\nERR! WebDriverAgent-driver     at Object.runtime.async (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:209:12)\r\nERR! WebDriverAgent-driver     at WebDriverAgentDriver.createSession (lib/driver.js:65:29)\r\nERR! WebDriverAgent-driver     at lib/driver.js:163:24\r\nERR! WebDriverAgent-driver     at tryCatcher (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/appium-base-driver/node_modules/bluebird/js/main/util.js:26:23)\r\nERR! WebDriverAgent-driver     at Promise._settlePromiseFromHandler (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:507:31)\r\nERR! WebDriverAgent-driver     at Promise._settlePromiseAt (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:581:18)\r\nERR! WebDriverAgent-driver     at Promise._settlePromiseAtPostResolution (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/appium-base-driver/node_modules/bluebird/js/main/promise.js:245:10)\r\nERR! WebDriverAgent-driver     at Async._drainQueue (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:128:12)\r\nERR! WebDriverAgent-driver     at Async._drainQueues (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:133:10)\r\nERR! WebDriverAgent-driver     at Immediate.Async.drainQueues [as _onImmediate] (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/appium-base-driver/node_modules/bluebird/js/main/async.js:15:14)\r\nERR! WebDriverAgent-driver     at processImmediate [as _immediateCallback] (timers.js:367:17)\r\nERR! WebDriverAgent-driver  { [SessionNotCreatedError: A new session could not be created. Details: Cannot create a new session while one is in progress] jsonwpCode: 33 }\r\ninfo WebDriverAgent-driver Shutting down WebDriverAgent\r\nERR! MJSONWP Encountered internal error running command: TypeError: Cannot set property 'sessionId' of undefined\r\nERR! MJSONWP     at WebDriverAgent.quit$ (lib/webdriveragent.js:148:27)\r\nERR! MJSONWP     at tryCatch (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\nERR! MJSONWP     at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\nERR! MJSONWP     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\nERR! MJSONWP     at invoke (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\nERR! MJSONWP     at enqueueResult (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:185:17)\r\nERR! MJSONWP     at new Promise (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:197:7)\r\nERR! MJSONWP     at AsyncIterator.enqueue (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:184:16)\r\nERR! MJSONWP     at AsyncIterator.prototype.(anonymous function) [as next] (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\nERR! MJSONWP     at Object.runtime.async (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:209:12)\r\nERR! MJSONWP     at WebDriverAgent.quit (lib/webdriveragent.js:140:14)\r\nERR! MJSONWP     at WebDriverAgentDriver.deleteSession$ (lib/driver.js:126:22)\r\nERR! MJSONWP     at tryCatch (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\nERR! MJSONWP     at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\nERR! MJSONWP     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\nERR! MJSONWP     at invoke (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\nERR! MJSONWP     at enqueueResult (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:185:17)\r\nERR! MJSONWP     at new Promise (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:197:7)\r\nERR! MJSONWP     at AsyncIterator.enqueue (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:184:16)\r\nERR! MJSONWP     at AsyncIterator.prototype.(anonymous function) [as next] (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\nERR! MJSONWP     at Object.runtime.async (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:209:12)\r\nERR! MJSONWP     at WebDriverAgentDriver.deleteSession (lib/driver.js:123:16)\r\nERR! MJSONWP     at WebDriverAgentDriver.createSession$ (lib/driver.js:114:18)\r\nERR! MJSONWP     at tryCatch (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:67:40)\r\nERR! MJSONWP     at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:315:22)\r\nERR! MJSONWP     at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:100:21)\r\nERR! MJSONWP     at GeneratorFunctionPrototype.invoke (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/regenerator/runtime.js:136:37)\r\nERR! MJSONWP     at run (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:104:47)\r\nERR! MJSONWP     at /Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/node_modules/core-js/library/modules/es6.promise.js:115:28\r\nERR! MJSONWP     at flush (/Users/jerryzhao/node_modules/appium-xcuitest-driver/node_modules/babel-runtime/node_modules/core-js/library/modules/$.microtask.js:19:5)\r\nERR! MJSONWP     at process._tickCallback (node.js:355:11)\r\ninfo HTTP <-- POST /wd/hub/session 500 14 ms - 181"}}