{"action":"created","issue":{"url":"https://api.github.com/repos/appium/appium/issues/5624","labels_url":"https://api.github.com/repos/appium/appium/issues/5624/labels{/name}","comments_url":"https://api.github.com/repos/appium/appium/issues/5624/comments","events_url":"https://api.github.com/repos/appium/appium/issues/5624/events","html_url":"https://github.com/appium/appium/issues/5624","id":107221770,"number":5624,"title":"Xcode 7/iOS 9Could not find a device to launch. You requested 'iPhone 6 (9.0 Simulator)'","user":{"login":"skycamefalling","id":4701568,"avatar_url":"https://avatars.githubusercontent.com/u/4701568?v=3","gravatar_id":"","url":"https://api.github.com/users/skycamefalling","html_url":"https://github.com/skycamefalling","followers_url":"https://api.github.com/users/skycamefalling/followers","following_url":"https://api.github.com/users/skycamefalling/following{/other_user}","gists_url":"https://api.github.com/users/skycamefalling/gists{/gist_id}","starred_url":"https://api.github.com/users/skycamefalling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skycamefalling/subscriptions","organizations_url":"https://api.github.com/users/skycamefalling/orgs","repos_url":"https://api.github.com/users/skycamefalling/repos","events_url":"https://api.github.com/users/skycamefalling/events{/privacy}","received_events_url":"https://api.github.com/users/skycamefalling/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/appium/appium/labels/NeedsTriage","name":"NeedsTriage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-09-18T15:14:59Z","updated_at":"2015-09-23T15:36:30Z","closed_at":null,"body":"This happened on 1.4.11 and 1.5.0beta4\r\n\r\nIt looks like the values are hardcoded into the code. This is causing appium with the ruby bindings to not be able to find the device. It looks as if in Xcode 7 they changed the device names - as you can see not one of them has simulator in the name.\r\n\r\n```[\"iPhone (5) (8.3) [9a344d3d575e223dff41bdc02bd678c71b7b14d2]\",\"iPad 2 (8.4) [AF764A2F-5726-4C45-BE16-61FF3F4619E3]\",\"iPad 2 (9.0) [833D62D8-FB33-4C2D-B7CC-637A35E3EDC0]\",\"iPad Air (8.4) [DE706051-ECDB-4E27-9559-ED0A5D57C3B6]\",\"iPad Air (9.0) [692C92DC-A6D9-4FF9-9A7A-8E21689E25F8]\",\"iPad Air 2 (9.0) [A7475C30-2B9C-451B-8E48-AD18A4A83C55]\",\"iPad Retina (8.4) [EB8D8454-07B9-4D0C-A09A-4FB2D29F28E8]\",\"iPad Retina (9.0) [FE5BCE7B-34CF-4213-9B2B-36AADB575361]\",\"iPhone 4s (8.4) [F818F47D-2FA1-4C96-A031-3A488EBF4BD5]\",\"iPhone 4s (9.0) [F37442CD-2961-41CD-A01B-8031A3F075B7]\",\"iPhone 5 (8.4) [5035576B-A6B0-4230-8BDD-472F5AD5907D]\",\"iPhone 5 (9.0) [4A93F6ED-4B0E-4D39-BEDB-61EC4AF5A249]\",\"iPhone 5s (8.4) [9D3400BD-936C-4988-AE9A-912C5A3DBBCF]\",\"iPhone 5s (9.0) [59042C9B-E299-4DA3-9F5B-43E16B0E2BDB]\",\"iPhone 6 (8.4) [F56899F3-AC46-4187-A84F-A95C88B14698]\",\"iPhone 6 (9.0) [C76BF3AB-1D44-40B3-914A-F31B3EFF8636]\",\"iPhone 6 (9.0) + Apple Watch - 38mm (2.0) [CB508F71-C277-4F0A-954D-0ED837240789]\",\"iPhone 6 Plus (8.4) [04FB146F-2C33-4A1E-89E8-F51E52FFD2EC]\",\"iPhone 6 Plus (9.0) [9429AF68-A830-4EB6-BB82-E5E6D001D741]\",\"iPhone 6 Plus (9.0) + Apple Watch - 42mm (2.0) [E82BACA6-052A-4007-83A9-F888729BAF85]\",\"iPhone 6s (9.0) [664811ED-CB14-4D16-BA95-640B2BC5456A]\",\"iPhone 6s Plus (9.0) [03108BB5-9CE5-4627-9718-262B95C353A8]\"]```\r\n\r\nSee ios.js line 998 - 1037\r\n\r\n```javascript\r\nvar reqVersion = opts.platformVersion || opts.iOSSDKVersion;\r\n  if (opts.iOSSDKVersion >= 8 && xcodeMajorVer === 7) {\r\n    iosDeviceString += \" (\" + reqVersion + \")\";\r\n  } else if (opts.iOSSDKVersion >= 8) {\r\n    iosDeviceString += \" (\" + reqVersion + \" Simulator)\";\r\n  } else if (opts.iOSSDKVersion >= 7.1) {\r\n    iosDeviceString += \" - Simulator - iOS \" + reqVersion;\r\n  }\r\n if (fixDevice) {\r\n    // Some device config are broken in 5.1\r\n    var CONFIG_FIX = {\r\n      'iPhone - Simulator - iOS 7.1': 'iPhone Retina (4-inch 64-bit) - ' +\r\n                                      'Simulator - iOS 7.1',\r\n      'iPad - Simulator - iOS 7.1': 'iPad Retina (64-bit) - Simulator - ' +\r\n                                    'iOS 7.1',\r\n      'iPad Simulator (8.0 Simulator)': 'iPad 2 (8.0 Simulator)',\r\n      'iPad Simulator (8.1 Simulator)': 'iPad 2 (8.1 Simulator)',\r\n      'iPad Simulator (8.2 Simulator)': 'iPad 2 (8.2 Simulator)',\r\n      'iPad Simulator (8.3 Simulator)': 'iPad 2 (8.3 Simulator)',\r\n      'iPad Simulator (8.4 Simulator)': 'iPad 2 (8.4 Simulator)',\r\n      'iPad Simulator (7.1 Simulator)': 'iPad 2 (7.1 Simulator)',\r\n      'iPad Simulator (9.0)': 'iPad 2 (9.0)',\r\n      'iPhone Simulator (8.4 Simulator)': 'iPhone 6 (8.4 Simulator)',\r\n      'iPhone Simulator (8.3 Simulator)': 'iPhone 6 (8.3 Simulator)',\r\n      'iPhone Simulator (8.2 Simulator)': 'iPhone 6 (8.2 Simulator)',\r\n      'iPhone Simulator (8.1 Simulator)': 'iPhone 6 (8.1 Simulator)',\r\n      'iPhone Simulator (8.0 Simulator)': 'iPhone 6 (8.0 Simulator)',\r\n      'iPhone Simulator (9.0)': 'iPhone 6 (9.0)',\r\n      'iPhone Simulator (7.1 Simulator)': 'iPhone 5s (7.1 Simulator)'\r\n    };\r\n    if (CONFIG_FIX[iosDeviceString]) {\r\n      var oldDeviceString = iosDeviceString;\r\n      iosDeviceString = CONFIG_FIX[iosDeviceString];\r\n      logger.debug(\"Fixing device. Changed from: \\\"\" + oldDeviceString +\r\n                   \"\\\" to: \\\"\" + iosDeviceString + \"\\\"\");\r\n    }\r\n  }\r\n  logger.debug(\"Final device string is: '\" + iosDeviceString + \"'\");\r\n  return iosDeviceString;\r\n};```"},"comment":{"url":"https://api.github.com/repos/appium/appium/issues/comments/142641635","html_url":"https://github.com/appium/appium/issues/5624#issuecomment-142641635","issue_url":"https://api.github.com/repos/appium/appium/issues/5624","id":142641635,"user":{"login":"SouWilliams","id":6127395,"avatar_url":"https://avatars.githubusercontent.com/u/6127395?v=3","gravatar_id":"","url":"https://api.github.com/users/SouWilliams","html_url":"https://github.com/SouWilliams","followers_url":"https://api.github.com/users/SouWilliams/followers","following_url":"https://api.github.com/users/SouWilliams/following{/other_user}","gists_url":"https://api.github.com/users/SouWilliams/gists{/gist_id}","starred_url":"https://api.github.com/users/SouWilliams/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SouWilliams/subscriptions","organizations_url":"https://api.github.com/users/SouWilliams/orgs","repos_url":"https://api.github.com/users/SouWilliams/repos","events_url":"https://api.github.com/users/SouWilliams/events{/privacy}","received_events_url":"https://api.github.com/users/SouWilliams/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T15:36:30Z","updated_at":"2015-09-23T15:36:30Z","body":"I met the same problem. Currently i am using appium 1.4.8 on MAC. For details ,please refer screenshot.\r\nThe code is like below:\r\n\t\r\n\tprivate WebDriver driver;\r\n\t\r\n\t@BeforeClass\r\n\tpublic void setUp() throws MalformedURLException {\r\n\t\tDesiredCapabilities capabilities = DesiredCapabilities.iphone();\r\n\t\tcapabilities.setCapability(\"platformName\", \"IOS\");\r\n\t\tcapabilities.setCapability(\"deviceName\", \"iPhone Simulator\");\r\n\t\tcapabilities.setCapability(\"browserName\", \"Safari\");\r\n\t\tcapabilities.setCapability(\"platformVersion\", \"9.0\");\r\n\t\t\r\n\t\tdriver = new RemoteWebDriver(new URL(\"http://0.0.0.0:4723/wd/hub\"),capabilities);\r\n\t}\r\n<img width=\"624\" alt=\"screen shot 2015-09-23 at 11 35 11 pm\" src=\"https://cloud.githubusercontent.com/assets/6127395/10049824/e059a7f2-624b-11e5-99b6-131a6eaa32e9.png\">\r\n"}}