{"action":"created","issue":{"url":"https://api.github.com/repos/lyndsey-ferguson/fastlane-plugin-test_center/issues/74","repository_url":"https://api.github.com/repos/lyndsey-ferguson/fastlane-plugin-test_center","labels_url":"https://api.github.com/repos/lyndsey-ferguson/fastlane-plugin-test_center/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/lyndsey-ferguson/fastlane-plugin-test_center/issues/74/comments","events_url":"https://api.github.com/repos/lyndsey-ferguson/fastlane-plugin-test_center/issues/74/events","html_url":"https://github.com/lyndsey-ferguson/fastlane-plugin-test_center/issues/74","id":364622692,"node_id":"MDU6SXNzdWUzNjQ2MjI2OTI=","number":74,"title":"multi_scan doesn't find test cases in Xcode 10-generated .xcrun files","user":{"login":"craigomac","id":6972172,"node_id":"MDQ6VXNlcjY5NzIxNzI=","avatar_url":"https://avatars2.githubusercontent.com/u/6972172?v=4","gravatar_id":"","url":"https://api.github.com/users/craigomac","html_url":"https://github.com/craigomac","followers_url":"https://api.github.com/users/craigomac/followers","following_url":"https://api.github.com/users/craigomac/following{/other_user}","gists_url":"https://api.github.com/users/craigomac/gists{/gist_id}","starred_url":"https://api.github.com/users/craigomac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigomac/subscriptions","organizations_url":"https://api.github.com/users/craigomac/orgs","repos_url":"https://api.github.com/users/craigomac/repos","events_url":"https://api.github.com/users/craigomac/events{/privacy}","received_events_url":"https://api.github.com/users/craigomac/received_events","type":"User","site_admin":false},"labels":[{"id":819525269,"node_id":"MDU6TGFiZWw4MTk1MjUyNjk=","url":"https://api.github.com/repos/lyndsey-ferguson/fastlane-plugin-test_center/labels/%E2%99%BB%EF%B8%8F%20multi_scan","name":"♻️ multi_scan","color":"a2ba1d","default":false},{"id":733663129,"node_id":"MDU6TGFiZWw3MzM2NjMxMjk=","url":"https://api.github.com/repos/lyndsey-ferguson/fastlane-plugin-test_center/labels/%F0%9F%90%9Ebug","name":"🐞bug","color":"ee0701","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":67,"created_at":"2018-09-27T19:33:57Z","updated_at":"2018-11-12T20:46:17Z","closed_at":null,"author_association":"NONE","body":"<!-- Thanks for helping _test_center_! Before you submit your issue, please make sure to check the following boxes by putting an x in the [ ] (don't: [x ], [ x], do: [x]) -->\r\n\r\n### New Issue Checklist\r\n\r\n- [x] Updated `fastlane-plugin-test_center` to the latest version\r\n- [x] I read the [README.md](https://github.com/lyndsey-ferguson/fastlane-plugin-test_center/blob/master/README.md)\r\n- [x] I reviewed the [example(s)](https://github.com/lyndsey-ferguson/fastlane-plugin-test_center/blob/master/README.md) for the action(s) I am using\r\n- [x] I have removed any sensitive data such as passwords, authentication tokens, or anything else I do not want to world to see\r\n\r\n### Issue Description\r\n<!-- Please include which _test_center_ action you are using. For example, multi_scan, tests_from_junit, etc. -->\r\n<!-- Please include what's happening, expected behavior, and any relevant code samples -->\r\n\r\nWe're running `multi_scan` as part of our CI pipeline. It's invoked like this:\r\n\r\n```\r\n    output_directory = options[:output_directory]\r\n    multi_scan(\r\n      scheme: 'PipelineUITests',\r\n      devices: options[:devices].split(':'),\r\n      output_directory: output_directory,\r\n      derived_data_path: options[:derived_data_path],\r\n      fail_build: false,\r\n      output_files: 'report.junit',\r\n      output_types: 'junit',\r\n      try_count: 3,\r\n      slack_message: options[:slack_message],\r\n      slack_channel: '...',\r\n      xcargs: 'IDEBuildOperationMaxNumberOfConcurrentCompileTasks=`sysctl -n hw.ncpu`',\r\n      include_simulator_logs: true,\r\n      test_without_building: true\r\n    )\r\n```\r\n\r\nAs you can see, we pass some options to it in Ruby. We're confident that these parameters are not a problem because `scan` works normally (with the same parameters, minus `try_count` of course!).\r\n\r\n#### Expected result\r\n\r\nUI tests run\r\n\r\n#### Actual result\r\n\r\nWe see the message `There are no tests to run in testable 'PipelineUITests'. Skipping`.\r\n\r\n### Environment\r\n\r\n<!-- Please run `fastlane env` and copy the output below. This will help us help you :+1:\r\nIf you used `--capture_output` option, please remove this block as it is already included there. -->\r\n\r\n<details>\r\n  <pre><details><summary>🚫 fastlane environment 🚫</summary>\r\n\r\n### Stack\r\n\r\n| Key                         | Value                                       |\r\n| --------------------------- | ------------------------------------------- |\r\n| OS                          | 10.13.6                                     |\r\n| Ruby                        | 2.2.4                                       |\r\n| Bundler?                    | false                                       |\r\n| Git                         | git version 2.16.1                          |\r\n| Installation Source         | ~/.fastlane/bin/bundle/bin/fastlane         |\r\n| Host                        | Mac OS X 10.13.6 (17G65)                    |\r\n| Ruby Lib Dir                | ~/.fastlane/bin/bundle/lib                  |\r\n| OpenSSL Version             | OpenSSL 1.0.2g  1 Mar 2016                  |\r\n| Is contained                | true                                        |\r\n| Is homebrew                 | false                                       |\r\n| Is installed via Fabric.app | false                                       |\r\n| Xcode Path                  | /Applications/Xcode.app/Contents/Developer/ |\r\n| Xcode Version               | 10.0                                        |\r\n\r\n\r\n### System Locale\r\n\r\n| Variable | Value       |   |\r\n| -------- | ----------- | - |\r\n| LANG     | en_US.UTF-8 | ✅ |\r\n| LC_ALL   | en_US.UTF-8 | ✅ |\r\n| LANGUAGE | en_US.UTF-8 | ✅ |\r\n\r\n\r\n### fastlane gems\r\n\r\n| Gem      | Version | Update-Status      |\r\n| -------- | ------- | ------------------ |\r\n| fastlane | 2.87.0  | 🚫 Update available |\r\n\r\n\r\n### Loaded fastlane plugins:\r\n\r\n| Plugin                                         | Version | Update-Status |\r\n| ---------------------------------------------- | ------- | ------------- |\r\n| fastlane-plugin-setup_fragile_tests_for_rescan | 2.1.1   | ✅ Up-To-Date  |\r\n| fastlane-plugin-test_center                    | 3.5.7   | ✅ Up-To-Date  |\r\n\r\n\r\n<details><summary><b>Loaded gems</b></summary>\r\n\r\n| Gem                                            | Version      |\r\n| ---------------------------------------------- | ------------ |\r\n| CFPropertyList                                 | 2.3.5        |\r\n| addressable                                    | 2.5.1        |\r\n| atomos                                         | 0.1.2        |\r\n| babosa                                         | 1.0.2        |\r\n| bigdecimal                                     | 1.2.6        |\r\n| bundler                                        | 1.14.6       |\r\n| claide                                         | 1.0.2        |\r\n| colored                                        | 1.2          |\r\n| colored2                                       | 3.1.2        |\r\n| commander-fastlane                             | 4.4.6        |\r\n| declarative                                    | 0.0.10       |\r\n| declarative-option                             | 0.1.0        |\r\n| domain_name                                    | 0.5.20170404 |\r\n| dotenv                                         | 2.2.0        |\r\n| excon                                          | 0.55.0       |\r\n| faraday                                        | 0.12.1       |\r\n| faraday-cookie_jar                             | 0.0.6        |\r\n| faraday_middleware                             | 0.11.0.1     |\r\n| fastimage                                      | 2.1.0        |\r\n| fastlane-plugin-setup_fragile_tests_for_rescan | 2.1.1        |\r\n| fastlane-plugin-test_center                    | 3.5.7        |\r\n| fastlane-plugin-xbluepill                      | 0.1.2        |\r\n| gh_inspector                                   | 1.1.3        |\r\n| google-api-client                              | 0.13.6       |\r\n| googleauth                                     | 0.5.1        |\r\n| highline                                       | 1.7.8        |\r\n| http-cookie                                    | 1.0.3        |\r\n| httpclient                                     | 2.8.3        |\r\n| hurley                                         | 0.2          |\r\n| io-console                                     | 0.4.3        |\r\n| json                                           | 1.8.1        |\r\n| jwt                                            | 1.5.6        |\r\n| libxml-ruby                                    | 3.0.0        |\r\n| little-plugger                                 | 1.1.4        |\r\n| logging                                        | 2.2.2        |\r\n| memoist                                        | 0.15.0       |\r\n| mime-types                                     | 3.1          |\r\n| mime-types-data                                | 3.2016.0521  |\r\n| mini_magick                                    | 4.5.1        |\r\n| minitest                                       | 5.4.3        |\r\n| multi_json                                     | 1.12.1       |\r\n| multi_xml                                      | 0.6.0        |\r\n| multipart-post                                 | 2.0.0        |\r\n| nanaimo                                        | 0.2.4        |\r\n| naturally                                      | 2.1.0        |\r\n| nokogiri                                       | 1.5.6        |\r\n| os                                             | 0.9.6        |\r\n| plist                                          | 3.2.0        |\r\n| power_assert                                   | 0.2.2        |\r\n| psych                                          | 2.0.8        |\r\n| public_suffix                                  | 2.0.5        |\r\n| rake                                           | 10.4.2       |\r\n| rdoc                                           | 4.2.0        |\r\n| representable                                  | 3.0.4        |\r\n| retriable                                      | 2.1.0        |\r\n| rouge                                          | 1.11.1       |\r\n| rubygems-update                                | 2.5.2        |\r\n| rubyzip                                        | 1.2.1        |\r\n| security                                       | 0.1.3        |\r\n| signet                                         | 0.7.3        |\r\n| simctl                                         | 1.6.2        |\r\n| slack-notifier                                 | 2.3.2        |\r\n| sqlite3                                        | 1.3.13       |\r\n| terminal-notifier                              | 1.7.1        |\r\n| terminal-table                                 | 1.7.3        |\r\n| test-unit                                      | 3.0.8        |\r\n| tty-cursor                                     | 0.5.0        |\r\n| tty-screen                                     | 0.6.4        |\r\n| tty-spinner                                    | 0.8.0        |\r\n| uber                                           | 0.0.15       |\r\n| unf                                            | 0.1.4        |\r\n| unf_ext                                        | 0.0.7.4      |\r\n| unicode-display_width                          | 1.1.3        |\r\n| word_wrap                                      | 1.0.0        |\r\n| xcodeproj                                      | 1.5.7        |\r\n| xcpretty                                       | 0.2.6        |\r\n| xcpretty-travis-formatter                      | 0.0.4        |\r\n| xctest_list                                    | 1.1.4        |\r\n</details>\r\n\r\n\r\n*generated on:* **2018-09-27**\r\n</details></pre>\r\n</details>\r\n\r\n#### Spotted: changes in build output\r\n\r\nI've noticed that the generated `.xctestrun` file contains some changes when we build-without-testing in Xcode 10:\r\n\r\n1. `EnvironmentVariables ` no longer contains `DYLD_FRAMEWORK_PATH`, `DYLD_LIBRARY_PATH`, `__XCODE_BUILT_PRODUCTS_DIR_PATHS`, `__XPC_DYLD_FRAMEWORK_PATH` or `__XPC_DYLD_LIBRARY_PATH` entries\r\n\r\n2. Under `TestingEnvironmentVariables`, entries `DYLD_FRAMEWORK_PATH` and `DYLD_LIBRARY_PATH` have changed from a very long string:\r\n\r\n  `__TESTROOT__/Debug-iphonesimulator:__PLATFORMS__/iPhoneSimulator.platform/Developer/Library/Frameworks:__PLATFORMS__/iPhoneOS.platform/Developer/Library/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot/Developer/Library/PrivateFrameworks`\r\n  \r\n  to\r\n  `__TESTROOT__/Debug-iphonesimulator`\r\n\r\n3. There is a new section in the file:\r\n  \r\n  ```\r\n  \t\t\t<key>__XCODE_BUILT_PRODUCTS_DIR_PATHS</key>\r\n\t\t\t<string>__TESTROOT__/Debug-iphonesimulator</string>\r\n\t\t\t<key>__XPC_DYLD_FRAMEWORK_PATH</key>\r\n\t\t\t<string>__TESTROOT__/Debug-iphonesimulator</string>\r\n\t\t\t<key>__XPC_DYLD_LIBRARY_PATH</key>\r\n\t\t\t<string>__TESTROOT__/Debug-iphonesimulator</string>\r\n  ```\r\n"},"comment":{"url":"https://api.github.com/repos/lyndsey-ferguson/fastlane-plugin-test_center/issues/comments/438022818","html_url":"https://github.com/lyndsey-ferguson/fastlane-plugin-test_center/issues/74#issuecomment-438022818","issue_url":"https://api.github.com/repos/lyndsey-ferguson/fastlane-plugin-test_center/issues/74","id":438022818,"node_id":"MDEyOklzc3VlQ29tbWVudDQzODAyMjgxOA==","user":{"login":"hilljon86","id":6718976,"node_id":"MDQ6VXNlcjY3MTg5NzY=","avatar_url":"https://avatars0.githubusercontent.com/u/6718976?v=4","gravatar_id":"","url":"https://api.github.com/users/hilljon86","html_url":"https://github.com/hilljon86","followers_url":"https://api.github.com/users/hilljon86/followers","following_url":"https://api.github.com/users/hilljon86/following{/other_user}","gists_url":"https://api.github.com/users/hilljon86/gists{/gist_id}","starred_url":"https://api.github.com/users/hilljon86/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hilljon86/subscriptions","organizations_url":"https://api.github.com/users/hilljon86/orgs","repos_url":"https://api.github.com/users/hilljon86/repos","events_url":"https://api.github.com/users/hilljon86/events{/privacy}","received_events_url":"https://api.github.com/users/hilljon86/received_events","type":"User","site_admin":false},"created_at":"2018-11-12T20:46:17Z","updated_at":"2018-11-12T20:46:17Z","author_association":"NONE","body":"We do have a test class named \"XXXXCreateProfileUITests.swift\" with a test named \"testCreateProfilePageViewableElements\".  Can you elaborate on your last comment about the test-runner?  I'm not exactly sure what you are asking or how I could verify that for you.  Thank you for your patience. "}}
{"actor":{"display_login":"hilljon86"}}