---
title: latestSupported
framework: virtualization
role: symbol
role_heading: Type Property
path: virtualization/vzmacosrestoreimage/latestsupported
---

# latestSupported

Fetches the latest restore image supported by this host from the network.

## Declaration

```swift
class var latestSupported: VZMacOSRestoreImage { get async throws }
```

## Mentioned in

Installing macOS on a Virtual Machine

## Discussion

Discussion Construct a VZMacOSInstaller object with a VZMacOSRestoreImage loaded from a file on the local file system. A VZMacOSRestoreImage fetched with the latestSupported method has a URL property that refers to a restore image on the network. To use a network restore image, download the file to disk (using URLSession or similar API). After downloading the restore image, you can initialize a VZMacOSInstaller using a URL referring to the local file.

## See Also

### Controlling the Restoration Process

- [fetchLatestSupported(completionHandler:)](virtualization/vzmacosrestoreimage/fetchlatestsupported(completionhandler:).md)
- [load(from:completionHandler:)](virtualization/vzmacosrestoreimage/load(from:completionhandler:).md)
- [image(from:)](virtualization/vzmacosrestoreimage/image(from:).md)
