From 8d5574ed3f4625a7592f7b02f430c1688d8291b0 Mon Sep 17 00:00:00 2001 From: Fedor Korotkov Date: Wed, 11 Oct 2023 17:05:49 -0400 Subject: [PATCH] Removed usage of deprecated APIs (#628) See https://developer.apple.com/documentation/virtualization/vzmacauxiliarystorage/3816043-init --- Sources/tart/Platform/Darwin.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/tart/Platform/Darwin.swift b/Sources/tart/Platform/Darwin.swift index 7600359..de27f86 100644 --- a/Sources/tart/Platform/Darwin.swift +++ b/Sources/tart/Platform/Darwin.swift @@ -60,7 +60,7 @@ struct Darwin: PlatformSuspendable { let result = VZMacPlatformConfiguration() result.machineIdentifier = ecid - result.auxiliaryStorage = VZMacAuxiliaryStorage(contentsOf: nvramURL) + result.auxiliaryStorage = VZMacAuxiliaryStorage(url: nvramURL) if !hardwareModel.isSupported { // At the moment support of M1 chip is not yet dropped in any macOS version