{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/6597","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/6597/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/6597/comments","events_url":"https://api.github.com/repos/appium/appium/issues/6597/events","html_url":"https://github.com/appium/appium/issues/6597","id":160843335,"number":6597,"title":"iOS 10 support","user":{"login":"romainlouvet","id":4262374,"avatar_url":"https://avatars.githubusercontent.com/u/4262374?v=3","gravatar_id":"","url":"https://api.github.com/users/romainlouvet","html_url":"https://github.com/romainlouvet","followers_url":"https://api.github.com/users/romainlouvet/followers","following_url":"https://api.github.com/users/romainlouvet/following{/other_user}","gists_url":"https://api.github.com/users/romainlouvet/gists{/gist_id}","starred_url":"https://api.github.com/users/romainlouvet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romainlouvet/subscriptions","organizations_url":"https://api.github.com/users/romainlouvet/orgs","repos_url":"https://api.github.com/users/romainlouvet/repos","events_url":"https://api.github.com/users/romainlouvet/events{/privacy}","received_events_url":"https://api.github.com/users/romainlouvet/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/Enhancement","name":"Enhancement","color":"ffaa33"},{"url":"https://api.github.com/repos/appium/appium/labels/iOS","name":"iOS","color":"444444"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":38,"created_at":"2016-06-17T09:04:24Z","updated_at":"2016-08-23T20:31:10Z","closed_at":null,"body":"## The problem\r\n\r\nAppium can't launch ipa with iOS 10 beta / Xcode 8 beta.\r\n\r\n[MJSONWP] Encountered internal error running command: Error: Could not find Automation.tracetemplate in any of the followinglocations /Applications/Xcode-beta.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate,/Applications/Xcode-beta.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.bundle/Contents/Resources/Automation.tracetemplate\r\n    at getAutomationTraceTemplatePathWithoutRetry$ (lib/xcode.js:172:9)\r\n\r\n## Environment\r\n\r\n* Appium version : 1.5.3\r\n* Desktop OS/version used to run Appium: OS X 10.11.5\r\n* Mobile platform/version under test: iPhone 5SE with iOS 10\r\n* Real device or emulator/simulator: Real device\r\nXcode 8 beta\r\n\r\n## Link to Appium logs\r\n\r\nhttps://gist.github.com/romainlouvet/098e33195ea8be2989bb0fc82e270af2\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/241868160","html_url":"https://github.com/appium/appium/issues/6597#issuecomment-241868160","issue_url":"https://api.github.com/repos/appium/appium/issues/6597","id":241868160,"user":{"login":"rkang","id":14658357,"avatar_url":"https://avatars.githubusercontent.com/u/14658357?v=3","gravatar_id":"","url":"https://api.github.com/users/rkang","html_url":"https://github.com/rkang","followers_url":"https://api.github.com/users/rkang/followers","following_url":"https://api.github.com/users/rkang/following{/other_user}","gists_url":"https://api.github.com/users/rkang/gists{/gist_id}","starred_url":"https://api.github.com/users/rkang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkang/subscriptions","organizations_url":"https://api.github.com/users/rkang/orgs","repos_url":"https://api.github.com/users/rkang/repos","events_url":"https://api.github.com/users/rkang/events{/privacy}","received_events_url":"https://api.github.com/users/rkang/received_events","type":"User","site_admin":false},"created_at":"2016-08-23T20:31:10Z","updated_at":"2016-08-23T20:31:10Z","body":"I did what you asked, but it doesn't seem much better than previous. \r\n\r\n[XCUITest] xcodebuild exited with code '65' and signal 'null'\r\n[XCUITest] Error: xcodebuild failed with code 65\r\n    at SubProcess.<anonymous> (lib/webdriveragent.js:184:25)\r\n    at emitTwo (events.js:106:13)\r\n    at SubProcess.emit (events.js:191:7)\r\n    at ChildProcess.<anonymous> (lib/teen_process.js:191:14)\r\n    at emitTwo (events.js:106:13)\r\n    at ChildProcess.emit (events.js:191:7)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)\r\n Error: xcodebuild failed with code 65\r\n    at SubProcess.<anonymous> (lib/webdriveragent.js:184:25)\r\n    at emitTwo (events.js:106:13)\r\n    at SubProcess.emit (events.js:191:7)\r\n    at ChildProcess.<anonymous> (lib/teen_process.js:191:14)\r\n    at emitTwo (events.js:106:13)\r\n    at ChildProcess.emit (events.js:191:7)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)\r\n[XCUITest] Shutting down WebDriverAgent\r\n[XCUITest] Simulator log exited with code 'null'\r\n[debug] [XCUITest] Resetting simulator\r\n[debug] [XCUITest] Shutting down simulator\r\n[debug] [iOSSim] Killing all iOS Simulators\r\n[debug] [iOSLog] Stopping iOS log capture\r\n[MJSONWP] Encountered internal error running command: Error: xcodebuild failed with code 65\r\n    at SubProcess.<anonymous> (lib/webdriveragent.js:184:25)\r\n    at emitTwo (events.js:106:13)\r\n    at SubProcess.emit (events.js:191:7)\r\n    at ChildProcess.<anonymous> (lib/teen_process.js:191:14)\r\n    at emitTwo (events.js:106:13)\r\n    at ChildProcess.emit (events.js:191:7)\r\n    at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)\r\n2016-08-23 11:24:46,663 - selenium.webdriver.remote.remote_connection - DEBUG - Finished Request\r\n[HTTP] <-- POST /wd/hub/session 500 25435 ms - 167 \r\n2016-08-23 11:24:46,663 - atom.atom_appium - ERROR - Message: An unknown server-side error occurred while processing the command. Original error: xcodebuild failed with code 65\r\nTraceback (most recent call last):\r\n  File \"/school/product-tests/libraries/python/atom/atom/atom_appium/__init__.py\", line 105, in start\r\n    self._driver = WebDriverWrapper(command_executor=self.command_executor, desired_capabilities=capabilities)\r\n  File \"/school/product-tests/libraries/python/atom/atom/appium_utillities/driver_wrapper.py\", line 24, in __init__\r\n    super(WebDriverWrapper, self).__init__(command_executor, desired_capabilities)\r\n  File \"/usr/local/lib/python2.7/site-packages/appium/webdriver/webdriver.py\", line 35, in __init__\r\n    super(WebDriver, self).__init__(command_executor, desired_capabilities, browser_profile, proxy, keep_alive)\r\n  File \"/usr/local/lib/python2.7/site-packages/selenium-2.48.0-py2.7.egg/selenium/webdriver/remote/webdriver.py\", line 87, in __init__\r\n    self.start_session(desired_capabilities, browser_profile)\r\n  File \"/usr/local/lib/python2.7/site-packages/selenium-2.48.0-py2.7.egg/selenium/webdriver/remote/webdriver.py\", line 141, in start_session\r\n    'desiredCapabilities': desired_capabilities,\r\n  File \"/usr/local/lib/python2.7/site-packages/selenium-2.48.0-py2.7.egg/selenium/webdriver/remote/webdriver.py\", line 201, in execute\r\n    self.error_handler.check_response(response)\r\n  File \"/usr/local/lib/python2.7/site-packages/selenium-2.48.0-py2.7.egg/selenium/webdriver/remote/errorhandler.py\", line 181, in check_response\r\n    raise exception_class(message, screen, stacktrace)\r\nWebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: xcodebuild failed with code 65\r\n\r\n2016-08-23 11:24:56,669 - selenium.webdriver.remote.remote_connection - DEBUG - POST http://127.0.0.1:4723/wd/hub/session {\"desiredCapabilities\": {\"deviceName\": \"iPad Air\", \"language\": \"en\", \"simulator\": true, \"locale\": \"en_US\", \"app\": \"/school/product-tests/mobile-build/iPhoneSimulator/testable/Tableau.app\", \"udid\": null, \"platformVersion\": \"10.0\", \"platformName\": \"iOS\", \"appiumVersion\": 1.4, \"serverVersion\": \"9.0\"}}\r\n[HTTP] --> POST /wd/hub/session {\"desiredCapabilities\":{\"deviceName\":\"iPad Air\",\"language\":\"en\",\"simulator\":true,\"locale\":\"en_US\",\"app\":\"/school/product-tests/mobile-build/iPhoneSimulator/testable/Tableau.app\",\"udid\":null,\"platformVersion\":\"10.0\",\"platformName\":\"iOS\",\"appiumVersion\":1.4,\"serverVersion\":\"9.0\"}}"}}
{"actor":{"display_login":"rkang"}}