Contents

image(from:)

Load a restore image from a file on the local file system.

Declaration

class func image(from fileURL: URL) async throws -> VZMacOSRestoreImage

Parameters

  • fileURL:

    A file URL that indicates the macOS restore image to load.

Discussion

VZMacOSRestoreImage can load macOS installation media from a local file. If the fileURL parameter doesn’t refer to a local file, the system raises an exception.

See Also

Controlling the Restoration Process