{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/9167","repository_url":"https://api.github.com/repos/appium/appium","labels_url":"https://api.github.com/repos/appium/appium/issues/9167/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/9167/comments","events_url":"https://api.github.com/repos/appium/appium/issues/9167/events","html_url":"https://github.com/appium/appium/issues/9167","id":255179972,"number":9167,"title":"Encountered internal error running command: Error: Sdk '11' was not in list of simctl sdks","user":{"login":"Logakarti","id":27824327,"avatar_url":"https://avatars2.githubusercontent.com/u/27824327?v=4","gravatar_id":"","url":"https://api.github.com/users/Logakarti","html_url":"https://github.com/Logakarti","followers_url":"https://api.github.com/users/Logakarti/followers","following_url":"https://api.github.com/users/Logakarti/following{/other_user}","gists_url":"https://api.github.com/users/Logakarti/gists{/gist_id}","starred_url":"https://api.github.com/users/Logakarti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Logakarti/subscriptions","organizations_url":"https://api.github.com/users/Logakarti/orgs","repos_url":"https://api.github.com/users/Logakarti/repos","events_url":"https://api.github.com/users/Logakarti/events{/privacy}","received_events_url":"https://api.github.com/users/Logakarti/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":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-05T07:11:42Z","updated_at":"2017-09-05T07:28:11Z","closed_at":"2017-09-05T07:20:08Z","author_association":"NONE","body":"## The problem\r\n\r\n\"Encountered internal error running command: Error: SDK '11' was not in list of simctl SDKs\" exception throws while running the app cases in iPhone 7 - iOS 11 Simulators (Use Xcode 9 beta). Please help me to solve the issue.\r\n\r\n## Environment\r\n\r\n* Appium version (or git revision) that exhibits the issue: 1.6.5\r\n* Desktop OS/version used to run Appium: MAC\r\n* Mobile platform/version under test: iOS 11\r\n* Real device or emulator/simulator: iPhone 7\r\n\r\n## Link to Appium logs\r\nhttps://gist.github.com/Logakarti/706d7a2c17ca92f2a8df6fd02fdb9c58\r\n\r\n\r\n## Code To Reproduce Issue [ Good To Have ]\r\n\r\nCapabilities:\r\n\r\n        File appdir = new File(\"/Users/apple/Downloads\");\r\n        File app = new File(appdir, \"CK-12-3.7.0.77225w.ipa\");\r\n        DesiredCapabilities capabilities = new DesiredCapabilities();\r\n        capabilities.setCapability(MobileCapabilityType.PLATFORM_NAME, MobilePlatform.IOS);\r\n        capabilities.setCapability(MobileCapabilityType.PLATFORM_VERSION, \"11\");\r\n        capabilities.setCapability(MobileCapabilityType.DEVICE_NAME, \"iPhone 7\");\r\n        capabilities.setCapability(MobileCapabilityType.AUTOMATION_NAME, \"XCUITest\");\r\n        capabilities.setCapability(\"safariAllowPopups\", true);\r\n        capabilities.setCapability(\"autoWebview\", true);\r\n        capabilities.setCapability(\"safariOpenLinksInBackground\", true);\r\n        capabilities.setCapability(\"webviewConnectRetries\", 25);\r\n        capabilities.setCapability(\"app\", app.getAbsolutePath());\r\n        driver = new IOSDriver(new URL(\"http://127.0.0.1:4729/wd/hub\"), capabilities);\r\n        driver.manage().timeouts().implicitlyWait(60, TimeUnit.SECONDS);\r\n        try {\r\n            Thread.sleep(15000);\r\n        } catch (InterruptedException e) {\r\n            e.printStackTrace();\r\n        }\r\n        return capabilities;\r\n    }\r\n\r\niOS node Config:\r\n\r\n{\r\n\t\"capabilities\": [{\r\n\t\t\"browserName\": \"safari\",\r\n\t\t\"version\": \"11\",\r\n\t\t\"maxInstances\": 1,\r\n\t\t\"platform\": \"MAC\"\r\n\t}],\r\n\t\"configuration\": {\r\n\t\t\"cleanUpCycle\": 2000,\r\n\t\t\"timeout\": 30000,\r\n\t\t\"proxy\": \"org.openqa.grid.selenium.proxy.DefaultRemoteProxy\",\r\n\t\t\"url\": \"http://127.0.0.1:4729/wd/hub\",\r\n\t\t\"host\": \"127.0.0.1\",\r\n\t\t\"port\": 4729,\r\n\t\t\"maxSession\": 1,\r\n\t\t\"register\": true,\r\n\t\t\"registerCycle\": 5000,\r\n\t\t\"hubPort\": 4444,\r\n\t\t\"hubHost\": \"192.168.1.14\"\r\n\t}\r\n}\r\n"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/327094399","html_url":"https://github.com/appium/appium/issues/9167#issuecomment-327094399","issue_url":"https://api.github.com/repos/appium/appium/issues/9167","id":327094399,"user":{"login":"Logakarti","id":27824327,"avatar_url":"https://avatars2.githubusercontent.com/u/27824327?v=4","gravatar_id":"","url":"https://api.github.com/users/Logakarti","html_url":"https://github.com/Logakarti","followers_url":"https://api.github.com/users/Logakarti/followers","following_url":"https://api.github.com/users/Logakarti/following{/other_user}","gists_url":"https://api.github.com/users/Logakarti/gists{/gist_id}","starred_url":"https://api.github.com/users/Logakarti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Logakarti/subscriptions","organizations_url":"https://api.github.com/users/Logakarti/orgs","repos_url":"https://api.github.com/users/Logakarti/repos","events_url":"https://api.github.com/users/Logakarti/events{/privacy}","received_events_url":"https://api.github.com/users/Logakarti/received_events","type":"User","site_admin":false},"created_at":"2017-09-05T07:28:11Z","updated_at":"2017-09-05T07:28:11Z","author_association":"NONE","body":"Device List:\r\n\r\nHow to identify the version for the devices and also some device status shows \"Shutdown\".\r\n== Device Types ==\r\niPhone 4s (com.apple.CoreSimulator.SimDeviceType.iPhone-4s)\r\niPhone 5 (com.apple.CoreSimulator.SimDeviceType.iPhone-5)\r\niPhone 5s (com.apple.CoreSimulator.SimDeviceType.iPhone-5s)\r\niPhone 6 (com.apple.CoreSimulator.SimDeviceType.iPhone-6)\r\niPhone 6 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus)\r\niPhone 6s (com.apple.CoreSimulator.SimDeviceType.iPhone-6s)\r\niPhone 6s Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus)\r\niPhone 7 (com.apple.CoreSimulator.SimDeviceType.iPhone-7)\r\niPhone 7 Plus (com.apple.CoreSimulator.SimDeviceType.iPhone-7-Plus)\r\niPhone SE (com.apple.CoreSimulator.SimDeviceType.iPhone-SE)\r\niPad 2 (com.apple.CoreSimulator.SimDeviceType.iPad-2)\r\niPad Retina (com.apple.CoreSimulator.SimDeviceType.iPad-Retina)\r\niPad Air (com.apple.CoreSimulator.SimDeviceType.iPad-Air)\r\niPad Air 2 (com.apple.CoreSimulator.SimDeviceType.iPad-Air-2)\r\niPad (5th generation) (com.apple.CoreSimulator.SimDeviceType.iPad--5th-generation-)\r\niPad Pro (9.7-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-)\r\niPad Pro (12.9-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro)\r\niPad Pro (12.9-inch) (2nd generation) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-)\r\niPad Pro (10.5-inch) (com.apple.CoreSimulator.SimDeviceType.iPad-Pro--10-5-inch-)\r\nApple TV 1080p (com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p)\r\nApple Watch - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm)\r\nApple Watch - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm)\r\nApple Watch Series 2 - 38mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-38mm)\r\nApple Watch Series 2 - 42mm (com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-42mm)\r\n== Runtimes ==\r\niOS 10.3 (10.3.1 - 14E8301) (com.apple.CoreSimulator.SimRuntime.iOS-10-3)\r\ntvOS 10.2 (10.2 - 14W260) (com.apple.CoreSimulator.SimRuntime.tvOS-10-2)\r\nwatchOS 3.2 (3.2 - 14V243) (com.apple.CoreSimulator.SimRuntime.watchOS-3-2)\r\n== Devices ==\r\n-- iOS 10.3 --\r\n    iPhone 5 (AF4CDC85-40D6-4DF0-875C-22AAAE821C90) (Shutdown)\r\n    iPhone 5s (215BD885-F8F0-4BFB-A8B7-98B883030E23) (Shutdown)\r\n    iPhone 6 (B4C17221-2DA6-44F9-858B-357E070AB226) (Shutdown)\r\n    iPhone 6 Plus (4F0344EA-063B-4B43-AC72-D69794124EC3) (Shutdown)\r\n    iPhone 6s (986C6462-D45D-4A30-B727-0844EB95B42E) (Shutdown)\r\n    iPhone 6s Plus (F8C000CF-7818-4979-93BA-3E52DC34FD8C) (Shutdown)\r\n    iPhone 7 (FB78170C-D96E-48F7-852F-8C5D5C1969B4) (Shutdown)\r\n    iPhone 7 Plus (C5DE4A24-540F-41DE-A777-63F5AC6F4127) (Shutdown)\r\n    iPhone SE (0626823A-A487-4B0C-9475-81BB0D27967B) (Shutdown)\r\n    iPad Air (E531200A-7350-414B-BD6E-6872E7EB4BB8) (Shutdown)\r\n    iPad Air 2 (189EB01D-096B-46C5-8FF3-701DDEB7BB75) (Shutdown)\r\n    iPad (5th generation) (C60C2559-80D4-4E98-AAE9-7F233BD3511C) (Shutdown)\r\n    iPad Pro (9.7 inch) (A2264691-6149-46A1-B77A-1D28611A7B95) (Shutdown)\r\n    iPad Pro (12.9 inch) (4F641567-AA14-4B46-8B30-65DBE99BA2E2) (Shutdown)\r\n    iPad Pro (12.9-inch) (2nd generation) (79A19281-8E77-4304-B534-874A0D231B72) (Shutdown)\r\n    iPad Pro (10.5-inch) (AE8F6B49-F8FF-48DC-B340-36451769DFA5) (Shutdown)\r\n-- tvOS 10.2 --\r\n    Apple TV 1080p (DC55E87C-C685-48A1-8143-AA539370DC0A) (Shutdown)\r\n-- watchOS 3.2 --\r\n    Apple Watch - 38mm (E01AFC14-4955-4136-BDFB-DAB20BD61FE9) (Shutdown)\r\n    Apple Watch - 42mm (E23AD749-708A-4FE2-B048-709141E9D36D) (Shutdown)\r\n    Apple Watch Series 2 - 38mm (128B1ECA-AF49-4BAF-A40A-927B1EFCE474) (Shutdown)\r\n    Apple Watch Series 2 - 42mm (AE39302E-76B4-4912-BC4B-0E2BCD1F1EE5) (Shutdown)\r\n-- Unavailable: com.apple.CoreSimulator.SimRuntime.iOS-11-0 --\r\n    iPhone 5s (11DA05BF-E91A-4816-A7FB-E0D69AE7823A) (Shutdown) (unavailable, runtime profile not found)\r\n    iPhone 6 (1F46592F-F13F-4044-9CDA-08A6C12468D3) (Shutdown) (unavailable, runtime profile not found)\r\n    iPhone 6 Plus (08DD97F7-7C56-468D-BDA4-CAE55BE4DF05) (Shutdown) (unavailable, runtime profile not found)\r\n    iPhone 6s (EC62D8DD-0C19-4C59-97E9-E22B20E5755E) (Shutdown) (unavailable, runtime profile not found)\r\n    iPhone 6s Plus (14344699-397D-4DF6-B559-746C8722F9A1) (Shutdown) (unavailable, runtime profile not found)\r\n    iPhone 7 (706B763F-FB84-4F92-A430-09AEE80CFBCC) (Shutdown) (unavailable, runtime profile not found)\r\n    iPhone 7 Plus (7ACA8563-815C-46DE-B22D-B7BA50E7C591) (Shutdown) (unavailable, runtime profile not found)\r\n    iPhone SE (AC3D0E69-46DC-4328-A79E-C66D52F8FF5D) (Shutdown) (unavailable, runtime profile not found)\r\n    iPad Air (EA956A1E-BF1F-4912-975D-D8823C9DFB12) (Shutdown) (unavailable, runtime profile not found)\r\n    iPad Air 2 (C9165E5C-1302-441D-994B-D209E2ECE3EC) (Shutdown) (unavailable, runtime profile not found)\r\n    iPad (5th generation) (7B40C1F8-B3FA-4A01-82FE-24A3010854AB) (Shutdown) (unavailable, runtime profile not found)\r\n    iPad Pro (9.7-inch) (6D4D3B5A-1177-443A-8E0E-D222687A8E4D) (Shutdown) (unavailable, runtime profile not found)\r\n    iPad Pro (12.9-inch) (4C1E3B5E-F665-40A1-922B-24BCDA9E9D76) (Shutdown) (unavailable, runtime profile not found)\r\n    iPad Pro (12.9-inch) (2nd generation) (0B1EF278-0537-417C-AF38-3A9407A49940) (Shutdown) (unavailable, runtime profile not found)\r\n    iPad Pro (10.5-inch) (FFC25910-5B31-4D92-8DBC-5FE6C84EC89A) (Shutdown) (unavailable, runtime profile not found)\r\n-- Unavailable: com.apple.CoreSimulator.SimRuntime.watchOS-4-0 --\r\n    Apple Watch - 38mm (9969B820-D339-4884-9627-7C790FE3E67B) (Shutdown) (unavailable, runtime profile not found)\r\n    Apple Watch - 42mm (720F0EC3-EACE-4CE4-8E44-8C8F5846AE95) (Shutdown) (unavailable, runtime profile not found)\r\n    Apple Watch Series 2 - 38mm (314B8E1E-FBB8-4B95-A575-D982A460EF6A) (Shutdown) (unavailable, runtime profile not found)\r\n    Apple Watch Series 2 - 42mm (645EF41C-CD35-40BD-9741-A11846003CA7) (Shutdown) (unavailable, runtime profile not found)\r\n== Device Pairs ==\r\n96F8EDFE-1B40-4DC0-B0DA-B0AC3615586C (active, disconnected)\r\n    Watch: Apple Watch - 38mm (E01AFC14-4955-4136-BDFB-DAB20BD61FE9) (Shutdown)\r\n    Phone: iPhone 6s (986C6462-D45D-4A30-B727-0844EB95B42E) (Shutdown)\r\n0E9C2004-D979-4A08-9D96-7540867AD070 (active, disconnected)\r\n    Watch: Apple Watch - 42mm (E23AD749-708A-4FE2-B048-709141E9D36D) (Shutdown)\r\n    Phone: iPhone 6s Plus (F8C000CF-7818-4979-93BA-3E52DC34FD8C) (Shutdown)\r\nEAD797B8-210A-41FF-A73C-F88792332339 (active, disconnected)\r\n    Watch: Apple Watch Series 2 - 38mm (128B1ECA-AF49-4BAF-A40A-927B1EFCE474) (Shutdown)\r\n    Phone: iPhone 7 (FB78170C-D96E-48F7-852F-8C5D5C1969B4) (Shutdown)\r\n6828726F-0B8B-47F7-9500-CB0DE569B787 (active, disconnected)\r\n    Watch: Apple Watch Series 2 - 42mm (AE39302E-76B4-4912-BC4B-0E2BCD1F1EE5) (Shutdown)\r\n    Phone: iPhone 7 Plus (C5DE4A24-540F-41DE-A777-63F5AC6F4127) (Shutdown)\r\n299736ED-41BD-457A-974C-C3C6C532FB15 (unavailable)\r\n    Watch: Apple Watch Series 2 - 38mm (314B8E1E-FBB8-4B95-A575-D982A460EF6A) (Shutdown)\r\n    Phone: iPhone 7 (706B763F-FB84-4F92-A430-09AEE80CFBCC) (Shutdown)\r\nE05A9970-C17B-46C2-862F-21513FD52727 (unavailable)\r\n    Watch: Apple Watch Series 2 - 42mm (645EF41C-CD35-40BD-9741-A11846003CA7) (Shutdown)\r\n    Phone: iPhone 7 Plus (7ACA8563-815C-46DE-B22D-B7BA50E7C591) (Shutdown)"}}
{"actor":{"display_login":"Logakarti"}}