Removed usage of deprecated APIs (#628)

See https://developer.apple.com/documentation/virtualization/vzmacauxiliarystorage/3816043-init
This commit is contained in:
Fedor Korotkov
2023-10-11 17:05:49 -04:00
committed by GitHub
parent 457c2bc7db
commit 8d5574ed3f
+1 -1
View File
@@ -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