Hi,
I'm getting the same error with my code when running it with my GUI app (no VNC or similar) and trying to restore a snapshot with VZVirtualMachine.restoreMachineStateFrom(url)
Failed to restore with error: Error Domain=VZErrorDomain Code=12 "The virtual machine failed to restore with error “invalid argument”." UserInfo={NSLocalizedFailure=An error occurred while restoring the virtual machine., NSLocalizedFailureReason=The virtual machine failed to restore with error “invalid argument”.}
Snapshot was written successfully without errors using VZVirtualMachine.saveMachineStateTo(ur) and also prio check with VZVirtualMachineConfiguration.validateSaveRestoreSupport() does't fail.
Any other ideas what could cause this error?
Topic:
App & System Services
SubTopic:
Core OS
Tags: