{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/10433","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/10433/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/10433/comments","events_url":"https://api.github.com/repos/appium/appium/issues/10433/events","html_url":"https://github.com/appium/appium/issues/10433","id":309341698,"number":10433,"title":"Session doesn't start on iOS 11.2 - Xcode 9.2","user":{"login":"lucialuzuriaga","id":10621357,"avatar_url":"https://avatars2.githubusercontent.com/u/10621357?v=4","gravatar_id":"","url":"https://api.github.com/users/lucialuzuriaga","html_url":"https://github.com/lucialuzuriaga","followers_url":"https://api.github.com/users/lucialuzuriaga/followers","following_url":"https://api.github.com/users/lucialuzuriaga/following{/other_user}","gists_url":"https://api.github.com/users/lucialuzuriaga/gists{/gist_id}","starred_url":"https://api.github.com/users/lucialuzuriaga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lucialuzuriaga/subscriptions","organizations_url":"https://api.github.com/users/lucialuzuriaga/orgs","repos_url":"https://api.github.com/users/lucialuzuriaga/repos","events_url":"https://api.github.com/users/lucialuzuriaga/events{/privacy}","received_events_url":"https://api.github.com/users/lucialuzuriaga/received_events","type":"User","site_admin":false},"labels":[{"id":474876872,"url":"https://api.github.com/repos/appium/appium/labels/NeedsInfo","name":"NeedsInfo","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-03-28T12:16:36Z","updated_at":"2018-03-28T13:34:46Z","closed_at":null,"author_association":"NONE","body":"## The problem\r\n\r\nI've been testing without issues for several months on my app. Build target up to now had been iOS 10.3 and built using Xcode 8. After the app finally switched to iOS 11.2 SDK and Xcode 9, WebDriver Agent Runner fails to start a session. App is installed, Runner is installed, but the tests never run. This is 100% reproducible using Appium Desktop 1.4.0, and partially reproducible with Appium CLI 1.7.2. If I close and restart Appium many times or delete both app and runner, it may get to work once, and then stop working again on the next test run. \r\n\r\nI built the WebdriverAgent project with Xcode 9.2 without issues. I didn't perform ANY changes to my setup asides from changing the .app file building it with Xcode 9.2. After encountering this, I reinstalled Appium CLI, Appium Desktop, updated all my Homebrew packages, but the problem persists. \r\n\r\n## Environment\r\n\r\n* Appium version: Appium Desktop 1.4.0, Appium 1.7.2.\r\n* Last Appium version that did not exhibit the issue (if applicable): Same version\r\n* Desktop OS/version used to run Appium: Mac Mini - OSX 10.13.3 High Sierra\r\n* Node.js version: v8.9.4\r\n* Mobile platform/version under test: iOS Simulator (iPhone 6s)\r\n* Real device or emulator/simulator: iOS Simulator (iPhone 6s)\r\n\r\n## Capabilities\r\n        capabilities.setCapability(\"platformName\", \"iOS\");\r\n        capabilities.setCapability(\"deviceName\", \"iPhone 6s\");\r\n        capabilities.setCapability(\"platformVersion\", \"11.2\");\r\n        capabilities.setCapability(\"app\", \"/Users/***/Downloads/***.app\");\r\n        capabilities.setCapability(\"orientation\", \"PORTRAIT\");\r\n        capabilities.setCapability(\"automationName\", \"XCUITest\"); (This line was added after the issue started happening - didn't use it with previous Xcode version)\r\n        capabilities.setCapability(\"appiumVersion\", \"1.7.2\");\r\n\r\n## Link to Appium logs\r\n\r\nPlease find GIST here: https://gist.github.com/lucialuzuriaga/f58150f347ec8522766bd56cd5e9d6a1\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/376888569","html_url":"https://github.com/appium/appium/issues/10433#issuecomment-376888569","issue_url":"https://api.github.com/repos/appium/appium/issues/10433","id":376888569,"user":{"login":"mykola-mokhnach","id":7767781,"avatar_url":"https://avatars1.githubusercontent.com/u/7767781?v=4","gravatar_id":"","url":"https://api.github.com/users/mykola-mokhnach","html_url":"https://github.com/mykola-mokhnach","followers_url":"https://api.github.com/users/mykola-mokhnach/followers","following_url":"https://api.github.com/users/mykola-mokhnach/following{/other_user}","gists_url":"https://api.github.com/users/mykola-mokhnach/gists{/gist_id}","starred_url":"https://api.github.com/users/mykola-mokhnach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mykola-mokhnach/subscriptions","organizations_url":"https://api.github.com/users/mykola-mokhnach/orgs","repos_url":"https://api.github.com/users/mykola-mokhnach/repos","events_url":"https://api.github.com/users/mykola-mokhnach/events{/privacy}","received_events_url":"https://api.github.com/users/mykola-mokhnach/received_events","type":"User","site_admin":false},"created_at":"2018-03-28T13:34:46Z","updated_at":"2018-03-28T13:34:46Z","author_association":"COLLABORATOR","body":">  This is done via command line, using Titanium Framework.\r\n\r\nTry with `xcrun simctl install <apppath>` instead\r\n\r\n> https://gist.github.com/lucialuzuriaga/30993b2c9cb7663febd04117f66eca2b\r\n\r\nthis log does not contain any useful information. Please get the one from Appium with `showXcodeLog ` and `showIOSLog` capabilities enabled."}}
{"actor":{"display_login":"mykola-mokhnach"}}