{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/5742","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/5742/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/5742/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/5742/events","html_url":"https://github.com/fastlane/fastlane/issues/5742","id":170975684,"number":5742,"title":"Scan cannot find simulators","user":{"login":"postmechanical","id":133463,"avatar_url":"https://avatars.githubusercontent.com/u/133463?v=3","gravatar_id":"","url":"https://api.github.com/users/postmechanical","html_url":"https://github.com/postmechanical","followers_url":"https://api.github.com/users/postmechanical/followers","following_url":"https://api.github.com/users/postmechanical/following{/other_user}","gists_url":"https://api.github.com/users/postmechanical/gists{/gist_id}","starred_url":"https://api.github.com/users/postmechanical/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/postmechanical/subscriptions","organizations_url":"https://api.github.com/users/postmechanical/orgs","repos_url":"https://api.github.com/users/postmechanical/repos","events_url":"https://api.github.com/users/postmechanical/events{/privacy}","received_events_url":"https://api.github.com/users/postmechanical/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fastlane/fastlane/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/fastlane/fastlane/labels/scan","name":"scan","color":"eb6420"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":18,"created_at":"2016-08-12T23:10:22Z","updated_at":"2016-09-08T22:57:59Z","closed_at":null,"body":"### New Issue Checklist\r\n\r\n- [x] Updated fastlane to the latest version\r\n- [x] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n\r\n### Issue Description\r\n\r\nScan cannot find simulators\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\n```\r\nbundle exec scan --device \"iPhone 6s\"\r\n[17:01:54]: Ignoring 'iPhone 6s', couldn't find matching simulator\r\n[17:01:54]: Couldn't find any matching simulators for '[\"iPhone 6s\"]' - falling back to default simulator\r\n+-----------------------+--------------------------------------------------------------------------+\r\n|                                     Summary for scan 0.11.2                                      |\r\n+-----------------------+--------------------------------------------------------------------------+\r\n| device                | iPhone 6s                                                                |\r\n| workspace             | ./Foobar.xcworkspace                                                   |\r\n| scheme                | Foobar                                                                 |\r\n| derived_data_path     | .../DerivedData/Foobar-... |\r\n| clean                 | false                                                                    |\r\n| code_coverage         | false                                                                    |\r\n| address_sanitizer     | false                                                                    |\r\n| skip_build            | false                                                                    |\r\n| output_directory      | ./fastlane/test_output                                                   |\r\n| output_types          | html,junit                                                               |\r\n| buildlog_path         | ~/Library/Logs/scan                                                      |\r\n| open_report           | false                                                                    |\r\n| skip_slack            | false                                                                    |\r\n| slack_only_on_failure | false                                                                    |\r\n| use_clang_report_name | false                                                                    |\r\n+-----------------------+--------------------------------------------------------------------------+\r\n\r\n[17:05:15]: $ set -o pipefail && env NSUnbufferedIO=YES xcodebuild -workspace ./Foobar.xcworkspace -scheme Foobar -destination 'platform=iOS Simulator,id=2732721F-BB19-4019-8594-56B1F1EE4981' -derivedDataPath '/Users/ragecode/Library/Developer/Xcode/DerivedData/Foobar-byiivdizifwfoqejwrhhgjtcjuly' build test | tee '/Users/ragecode/Library/Logs/scan/Foobar-Foobar.log' | xcpretty \r\n```\r\n\r\nOutput of `instruments -s`:\r\n\r\n```\r\ninstruments -s\r\nKnown Devices:\r\nragebookpro [F7FFE450-8C45-56F6-8AC9-2FD8768657F5]\r\nApple TV 1080p (9.2) [5FB0ABEA-9B96-4AB0-B85E-E65EFA3E17CF] (Simulator)\r\niPad 2 (9.3) [8D9B2FA3-95EE-41F8-92C6-C35C765C9242] (Simulator)\r\niPad Air (9.3) [76486C39-4F1F-437B-A8F7-40A29FB1BC4E] (Simulator)\r\niPad Air 2 (9.3) [4B07F52F-D02C-4DB9-A35A-09F93639BF52] (Simulator)\r\niPad Pro (9.3) [B813E2BE-E780-496D-AB3A-B75FA0AC8D93] (Simulator)\r\niPad Retina (9.3) [FF1CB7C6-60B3-4C96-BCF0-E8717590C6AD] (Simulator)\r\niPhone 4s (9.3) [4A0C9D6C-35B9-4161-B67D-FCFDAEFDE583] (Simulator)\r\niPhone 5 (9.3) [290A73D6-2334-4B19-B22C-6DF0023549E2] (Simulator)\r\niPhone 5s (9.3) [2732721F-BB19-4019-8594-56B1F1EE4981] (Simulator)\r\niPhone 6 (9.3) [60ED7DD2-EA31-43E9-BA72-F2A960F9CA6E] (Simulator)\r\niPhone 6 Plus (9.3) [4CE88860-2EC2-4A0B-9794-310E9D8B25D4] (Simulator)\r\niPhone 6s (9.3) [3F5C6BBB-96BB-4A75-AF61-6AE993F04289] (Simulator)\r\niPhone 6s (9.3) + Apple Watch - 38mm (2.2) [C1D65072-E256-4438-98C6-17996190C888] (Simulator)\r\niPhone 6s Plus (9.3) [B3DF44A4-D531-4FF7-9ACA-C82BEF01E2DC] (Simulator)\r\niPhone 6s Plus (9.3) + Apple Watch - 42mm (2.2) [EE2BEDA7-700D-4366-97D9-DFF59AE6BDBA] (Simulator)\r\nKnown Templates:\r\n\"Activity Monitor\"\r\n\"Allocations\"\r\n\"Automation\"\r\n\"Blank\"\r\n\"Cocoa Layout\"\r\n\"Core Animation\"\r\n\"Core Data\"\r\n\"Counters\"\r\n\"Energy Log\"\r\n\"File Activity\"\r\n\"GPU Driver\"\r\n\"Leaks\"\r\n\"Metal System Trace\"\r\n\"Network\"\r\n\"OpenGL ES Analysis\"\r\n\"System Trace\"\r\n\"System Usage\"\r\n\"Time Profiler\"\r\n\"Zombies\"\r\n\"~/Library/Application Support/Instruments/Templates/MyTemplate.tracetemplate\"\r\n```\r\n\r\n### Configuration Files\r\n\r\nPlease copy the complete content of your `Fastfile` and any other configuration files you use below:\r\n\r\nN/A\r\n\r\n### Environment\r\n\r\nscan version (run `scan -v`):\r\n\r\n`0.11.2`\r\n\r\nDo you use bundler to execute fastlane (i.e. `bundle exec scan`)? YES\r\n\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)? NO\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/245767909","html_url":"https://github.com/fastlane/fastlane/issues/5742#issuecomment-245767909","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/5742","id":245767909,"user":{"login":"KrauseFx","id":869950,"avatar_url":"https://avatars.githubusercontent.com/u/869950?v=3","gravatar_id":"","url":"https://api.github.com/users/KrauseFx","html_url":"https://github.com/KrauseFx","followers_url":"https://api.github.com/users/KrauseFx/followers","following_url":"https://api.github.com/users/KrauseFx/following{/other_user}","gists_url":"https://api.github.com/users/KrauseFx/gists{/gist_id}","starred_url":"https://api.github.com/users/KrauseFx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KrauseFx/subscriptions","organizations_url":"https://api.github.com/users/KrauseFx/orgs","repos_url":"https://api.github.com/users/KrauseFx/repos","events_url":"https://api.github.com/users/KrauseFx/events{/privacy}","received_events_url":"https://api.github.com/users/KrauseFx/received_events","type":"User","site_admin":false},"created_at":"2016-09-08T22:57:59Z","updated_at":"2016-09-08T22:57:59Z","body":"Hey everyone, really sorry there is some difficulties with _scan_. I'm looking into https://github.com/fastlane/fastlane/pull/5746 right now, and make sure all edge cases are covered.\r\n\r\nThanks for your feedback @postmechanical, I can understand your frustration. The goal with fastlane is to never do any breaking changes, unless there is a major version bump involved. We haven't done any breaking release since the 1.0 release of each of the tools, however things might go wrong, especially for more advanced setups, where some features or tools are used differently than originally intended. \r\n\r\nFor this _scan_ issue, the error was caused by an Xcode update, changing the way simulators are printed to the terminal, and therefore breaking the simulator selection of `scan`. We're usually really fast updating the tools to work with the latest releases of Apple (both Xcode, and web services like iTunes Connect), however for some reason we misjudged the priority of this issue and put it aside initially.\r\n\r\nI'm really sorry this happened, and we're working hard to provide a new release with a fix as soon as possible 👍 "}}
{"actor":{"display_login":"KrauseFx"}}