Files
UTM/Platform
osy fa92ca48ed asif: use DiskImageKit on macOS 27
ASIF drives for Apple Virtualization are created, inspected and resized
through the private DiskImages2 framework, loaded by path and called via
NSInvocation. macOS 27 ships DiskImageKit, a public Swift-only framework
that covers the same operations and is what Virtualization.framework now
consumes directly.

Add UTMAppleDiskImage, a Swift wrapper that uses DiskImageKit on macOS 27
and later and falls back to the existing UTMASIFImage helper on macOS 13
through 26. The legacy path is confined to one private extension so it
can be deleted together with UTMASIFImage once the minimum host is
macOS 27. DiskImageKit is weak linked because the deployment target is
below macOS 27.

Callers switch to the wrapper; the resize path no longer force-unwraps
the helper.

Assisted-by: Claude:claude-fable-5-1
2026-09-19 10:49:50 -05:00
..
2025-04-07 18:21:20 -07:00
2024-11-21 13:26:13 +09:00
2026-09-19 10:49:50 -05:00
2025-09-15 12:03:49 -07:00
2026-09-19 10:49:50 -05:00
2026-09-16 16:21:52 +08:00