Skip to content

Calling device.runtime throws exception for runtimes that are not installed #24

@dflems

Description

@dflems

If you have old simulators from an earlier version of Xcode and no longer have that runtime installed, calling device.runtime will throw an exception:

SimCtl::RuntimeNotFound: Could not find a runtime matching {:identifier=>"com.apple.CoreSimulator.SimRuntime.iOS-11-1"}

I'm not sure what the "correct" behavior is here. The simulator exists (has a directory on-disk and is reported by simctl), but has an invalid runtime.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions