pub struct Runtime {
pub bundle_path: PathBuf,
pub build_version: String,
pub runtime_root: PathBuf,
pub identifier: String,
pub version: String,
pub is_available: bool,
pub name: String,
}Expand description
Information about a runtime.
Fields§
§bundle_path: PathBufContains a path to the bundle of this runtime. This is usually not relevant to end-users.
build_version: StringContains the build version of this runtime. This is usually not relevant to end-users.
runtime_root: PathBufContains the root of this runtime. This is usually not relevant to end-users.
identifier: StringContains a unique identifier for this runtime.
version: StringContains a human-readable version string for this runtime.
is_available: boolIndicates if this runtime is available. This is false when the runtime
was first created (automatically) with an older version of Xcode that
shipped with an older version of the iOS simulator and after upgrading
to a newer version. In that case, Xcode no longer has the runtime bundle
for this older runtime, but it will still be registered by simctl.
However, it’s not possible to boot a device with an unavailable runtime.
name: StringContains a human-readable name for this runtime.