Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] Update simctl command in device_manager.rb [21893] #21894

Merged
merged 2 commits into from
Feb 29, 2024

Commits on Feb 26, 2024

  1. Update simctl command in device_manager.rb

    When run_tests executes, it attempts to get a list of installed runtimes in json format. This fails with Xcode 14.n and 15.n.
    The reason is that the following command is used to get the list of runtimes:
    `xcrun simctl list runtimes -j`.
    I'm unsure if this worked in older versions of Xcode, but it no longer does. The output modifier must come BEFORE `runtimes` in the command, e.g. `xcrun simctl list -j runtimes`
    dnedrow committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    3bf7d5d View commit details
    Browse the repository at this point in the history
  2. chore: Update device_manager tests

    chore: Update device_manager tests
    
    Location of `-j` has changed when using `simctl list runtimes`
    dnedrow committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    5d745f0 View commit details
    Browse the repository at this point in the history