{"action":"opened","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/5896","repository_url":"https://api.github.com/repos/fastlane/fastlane","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/5896/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/5896/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/5896/events","html_url":"https://github.com/fastlane/fastlane/issues/5896","id":173320805,"number":5896,"title":"Question: Should running UI Tests with scan require an executable set in the scheme?","user":{"login":"revile","id":1697654,"avatar_url":"https://avatars.githubusercontent.com/u/1697654?v=3","gravatar_id":"","url":"https://api.github.com/users/revile","html_url":"https://github.com/revile","followers_url":"https://api.github.com/users/revile/followers","following_url":"https://api.github.com/users/revile/following{/other_user}","gists_url":"https://api.github.com/users/revile/gists{/gist_id}","starred_url":"https://api.github.com/users/revile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revile/subscriptions","organizations_url":"https://api.github.com/users/revile/orgs","repos_url":"https://api.github.com/users/revile/repos","events_url":"https://api.github.com/users/revile/events{/privacy}","received_events_url":"https://api.github.com/users/revile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-25T21:59:40Z","updated_at":"2016-08-25T21:59:40Z","closed_at":null,"body":"### New Issue Checklist\r\n\r\n- [ ] Updated fastlane to the latest version\r\n- [ ] I have read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)\r\n\r\n### Issue Description\r\n\r\nWhen running scan on a default UI Test scheme I get the following error:\r\n\r\n\r\n##### Complete output when running fastlane, including the stack trace and command used\r\n\r\n```\r\nscan --workspace App.xcworkspace --device \"iPhone 6 Plus\" --scheme \"UITests\"\r\n[09:57:35]: xcodebuild -list -workspace App.xcworkspace\r\n\r\nLooking for related GitHub issues on fastlane/fastlane...\r\n\r\n➡️  [Spaceship] TypeError: no implicit conversion of String into Integer in app_version.rb:641\r\n   https://github.com/fastlane/fastlane/issues/5652 [closed] 9 💬\r\n   2 weeks ago\r\n\r\n➡️  no implicit conversion of nil into String\r\n   https://github.com/fastlane/fastlane/issues/3379 [closed] 3 💬\r\n   08 Mar 2016\r\n\r\n➡️  [No implicit conversion of nil into String] on supply init\r\n   https://github.com/fastlane/fastlane/issues/3377 [closed] 5 💬\r\n   08 Mar 2016\r\n\r\nand 33 more at: https://github.com/fastlane/fastlane/search?q=no%20implicit%20conversion%20of%20nil%20into%20String&type=Issues&utf8=✓\r\n/Users/scook/Documents/Work/projects/fastlane/scan/lib/scan/detect_values.rb:62:in `include?': [!] no implicit conversion of nil into String (TypeError)\r\n\tfrom /Users/scook/Documents/Work/projects/fastlane/scan/lib/scan/detect_values.rb:62:in `block in default_device_ios'\r\n\tfrom /Users/scook/Documents/Work/projects/fastlane/scan/lib/scan/detect_values.rb:58:in `each'\r\n\tfrom /Users/scook/Documents/Work/projects/fastlane/scan/lib/scan/detect_values.rb:58:in `default_device_ios'\r\n\tfrom /Users/scook/Documents/Work/projects/fastlane/scan/lib/scan/detect_values.rb:23:in `set_additional_default_values'\r\n\tfrom /Users/scook/Documents/Work/projects/fastlane/scan/lib/scan.rb:27:in `config='\r\n\tfrom /Users/scook/Documents/Work/projects/fastlane/scan/lib/scan/manager.rb:4:in `work'\r\n\tfrom /Users/scook/Documents/Work/projects/fastlane/scan/lib/scan/commands_generator.rb:41:in `block (2 levels) in run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:178:in `call'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/command.rb:153:in `run'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/runner.rb:444:in `run_active_command'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.50.3/lib/fastlane_core/ui/fastlane_runner.rb:36:in `run!'\r\n\tfrom /Library/Ruby/Gems/2.0.0/gems/commander-4.4.0/lib/commander/delegates.rb:15:in `run!'\r\n\tfrom /Users/scook/Documents/Work/projects/fastlane/scan/lib/scan/commands_generator.rb:60:in `run'\r\n\tfrom /Users/scook/Documents/Work/projects/fastlane/scan/lib/scan/commands_generator.rb:14:in `start'\r\n\tfrom /Users/scook/Documents/Work/projects/fastlane/scan/bin/scan:6:in `<main>'\r\n```\r\n\r\nThe default UITest scheme does not have an executable set, this doesn't seem to be required for XCode to run these tests, but scan fails. Is it expected that the scheme needs an executable set?(when I set this to the main app executable everything works fine)\r\n\r\n### Environment\r\n\r\nfastlane version (run `fastlane -v`): scan version 0.11.3\r\n\r\nDo you use bundler to execute fastlane (i.e. `bundle exec fastlane`)? No\r\n\r\nDo you use a Ruby environment manager (e.g. `chruby`, `rbenv`, `rvm`)? rvm\r\n"}}
{"actor":{"display_login":"revile"}}