Skip to content

Run a virtual iPhone on an Apple Silicon Mac.

Swift

Merge remote-tracking branch 'upstream/main' into fix/guest-location-services

Jackye0415d1ce7c6
diff --cc VPhoneExecutable/VPhoneVirtualization/UI/VPhoneVirtualMachineAppDelegate.swift
index fd5dcf5c,46f3b20e..e72e1289
--- a/VPhoneExecutable/VPhoneVirtualization/UI/VPhoneVirtualMachineAppDelegate.swift
+++ b/VPhoneExecutable/VPhoneVirtualization/UI/VPhoneVirtualMachineAppDelegate.swift
@@@ -113,7 -113,7 +113,8 @@@ class VPhoneVirtualMachineAppDelegate:
self.control = control
if !command.dfu {
control.unlocksAtStartup = vm.unlocksAtStartup
+ control.syncsHostLocation = vm.syncsHostLocation
+ control.guestDeviceName = Self.guestDeviceName(forConfig: options.configURL)
startNetworkServices(vm: vm, control: control)
let vphonedURL = URL(fileURLWithPath: command.vphonedBin)
if FileManager.default.fileExists(atPath: vphonedURL.path) {