Run a virtual iPhone on an Apple Silicon Mac.
Swift
Merge remote-tracking branch 'origin/iphone-duo-x1' into spike/duo-virtual-inner
Jacky4410ed73ba8c
diff --cc VPhoneDaemon/Daemon/GuestAPI+Environment.swiftindex 152daf99,6f6dcfc7..06d65f2e--- a/VPhoneDaemon/Daemon/GuestAPI+Environment.swift+++ b/VPhoneDaemon/Daemon/GuestAPI+Environment.swift@@@ -29,6 -26,11 +30,12 @@@ extension GuestAPI"libvphoneaccelerometer.dylib","libvphoneattitude.dylib",]+ /// Must match `VPhoneGuestEnvironment.selectedLibraries`: the VM's patch selection owns these.+ static let environmentSelectedLibraries: Set = [+ "libprefsfix.dylib", "libsigninfix.dylib",+ "libvphonegyro.dylib", "libvphoneaccelerometer.dylib", "libvphoneattitude.dylib",++ "libvphonehinge.dylib", "libvphonefoldguard.dylib", "libvphonefolddisplay.dylib",+ ]static let environmentStaging = "/var/root/Library/Caches/vphone-environment"static func executeEnvironment(_ method: String, _ params: [String: Any]) throws -> [String: Any]? {diff --cc VPhoneDaemon/Daemon/GuestAPI+Process.swiftindex d1b028fa,84e32181..bdebe07f--- a/VPhoneDaemon/Daemon/GuestAPI+Process.swift+++ b/VPhoneDaemon/Daemon/GuestAPI+Process.swift@@@ -38,89 -34,6 +38,89 @@@ extension GuestAPI}}+ /// Read-only poster probe plumbing. The signed helper is intentionally+ /// optional until the guest payload is installed; callers get an explicit+ /// unavailable result rather than a synthetic scene snapshot.+ private static func inspectPoster(_ params: [String: Any]) throws -> [String: Any] {+ let pid = try integer(params, "pid")+ guard pid > 1 else { throw GuestAPIError.invalidRequest("pid must be a positive process id") }+ let helper = "/usr/libexec/vphone-poster-inspect"+ guard access(helper, X_OK) == 0 else {+ return ["available": false, "pid": pid, "reason": "poster instrumented helper is not installed"]+ }+ // Helper execution is deliberately not enabled until its payload hash+ // and target identity checks are wired into the guest manifest.+ return ["available": false, "pid": pid, "reason": "poster helper is present but not admitted"]+ }++ // This is deliberately a small diagnostic surface. It is not a general+ // shell: every executable has a fixed path and arguments are passed+ // directly to posix_spawn (there is no shell expansion).+ private static func spawnProcess(_ params: [String: Any]) throws -> [String: Any] {+ guard let name = params["executable"] as? String,+ let executable = GuestProcessSpawnPolicy.executables[name] else { throw GuestAPIError.invalidRequest("executable must be one of " + GuestProcessSpawnPolicy.executables.keys.sorted().joined(separator: ", ")) }+ let arguments = params["arguments"] as? [String] ?? []+ let timeout = (params["timeout_seconds"] as? NSNumber).map { $0.doubleValue } ?? 3.0+ if let error = GuestProcessSpawnPolicy.validate(executable: name, arguments: arguments, timeout: timeout) { throw GuestAPIError.invalidRequest(error) }++ var stdoutPipe: [Int32] = [0, 0]+ var stderrPipe: [Int32] = [0, 0]+ guard pipe(&stdoutPipe) == 0, pipe(&stderrPipe) == 0 else {+ throw GuestAPIError.operationFailed("pipe: " + String(cString: strerror(errno)))+ }+ defer {+ close(stdoutPipe[0]); close(stdoutPipe[1]); close(stderrPipe[0]); close(stderrPipe[1])+ }++ var argv = [UnsafeMutablePointer<CChar>?](repeating: nil, count: arguments.count + 2)+ argv[0] = strdup(executable)+ for (index, argument) in arguments.enumerated() { argv[index + 1] = strdup(argument) }+ defer { for value in argv where value != nil { free(value) } }+ var actions: posix_spawn_file_actions_t?- posix_spawn_file_actions_init(&actions)- defer { posix_spawn_file_actions_destroy(&actions) }- posix_spawn_file_actions_adddup2(&actions, stdoutPipe[1], STDOUT_FILENO)- posix_spawn_file_actions_adddup2(&actions, stderrPipe[1], STDERR_FILENO)- posix_spawn_file_actions_addclose(&actions, stdoutPipe[0])- posix_spawn_file_actions_addclose(&actions, stderrPipe[0])++ vp_spawn_file_actions_init(&actions)++ defer { vp_spawn_file_actions_destroy(&actions) }++ vp_spawn_file_actions_adddup2(&actions, stdoutPipe[1], STDOUT_FILENO)++ vp_spawn_file_actions_adddup2(&actions, stderrPipe[1], STDERR_FILENO)++ vp_spawn_file_actions_addclose(&actions, stdoutPipe[0])++ vp_spawn_file_actions_addclose(&actions, stderrPipe[0])+ var pid: pid_t = 0- let spawnError = posix_spawn(&pid, executable, &actions, nil, &argv, environ)++ let spawnError = vp_spawn(&pid, executable, &actions, nil, &argv, environ)+ guard spawnError == 0 else { throw GuestAPIError.operationFailed("posix_spawn: " + String(cString: strerror(spawnError))) }+ close(stdoutPipe[1]); close(stderrPipe[1])++ fcntl(stdoutPipe[0], F_SETFL, O_NONBLOCK)+ fcntl(stderrPipe[0], F_SETFL, O_NONBLOCK)+ var output = Data(); var errorOutput = Data(); var status: Int32 = 0+ let deadline = Date().addingTimeInterval(timeout)+ var exited = false+ while Date() < deadline {+ drainSpawnPipe(stdoutPipe[0], into: &output)+ drainSpawnPipe(stderrPipe[0], into: &errorOutput)+ if waitpid(pid, &status, WNOHANG) == pid { exited = true; break }+ usleep(10_000)+ }+ if !exited {+ kill(pid, SIGKILL)+ _ = waitpid(pid, &status, 0)+ }+ drainSpawnPipe(stdoutPipe[0], into: &output); drainSpawnPipe(stderrPipe[0], into: &errorOutput)+ return [+ "executable": executable, "arguments": arguments, "pid": Int(pid),+ "timed_out": !exited, "exit_code": exited && (status & 0x7f) == 0 ? Int((status >> 8) & 0xff) : NSNull(),+ "signal": exited && (status & 0x7f) != 0 ? Int(status & 0x7f) : NSNull(),+ "stdout": String(decoding: output, as: UTF8.self), "stderr": String(decoding: errorOutput, as: UTF8.self),+ ]+ }++ private static func drainSpawnPipe(_ fd: Int32, into data: inout Data) {+ guard data.count < GuestProcessSpawnPolicy.outputLimit else { return }+ var buffer = [UInt8](repeating: 0, count: min(4096, GuestProcessSpawnPolicy.outputLimit - data.count))+ while true {+ let count = read(fd, &buffer, buffer.count)+ if count > 0 { data.append(contentsOf: buffer[0..<count]) } else { break }+ }+ }+/// The three kernel memory sysctls of `memory.jetsam`, without its priority/// list and property plists, for panels that poll.private static func memoryPressure() -> [String: Any] {diff --cc VPhoneDaemon/Tests/LogicTests.swiftindex 13127aba,7ee9c903..c03625d7--- a/VPhoneDaemon/Tests/LogicTests.swift+++ b/VPhoneDaemon/Tests/LogicTests.swift@@@ -36,23 -37,38 +37,51 @@@ enum LogicTestsdataMigrationRecord()deviceNameRule()pointerScroll()+ displayRotationMapping()+ processSpawnPolicy()+ bootstrapPlatform()+ setupAssistantState()print("\(checks) checks, \(failures) failures")exit(failures == 0 ? 0 : 1)}+ static func processSpawnPolicy() {+ let valid = GuestProcessSpawnPolicy.validate(executable: "ps", arguments: ["-axo", "pid=,ppid=,args="], timeout: 3)+ expect(valid == nil, "standard ps discovery request is accepted")+ expect(GuestProcessSpawnPolicy.validate(executable: "sh", arguments: [], timeout: 3) != nil, "shell is refused")+ expect(GuestProcessSpawnPolicy.validate(executable: "ps", arguments: Array(repeating: "x", count: 17), timeout: 3) != nil, "argument count is bounded")+ expect(GuestProcessSpawnPolicy.validate(executable: "ps", arguments: [String(repeating: "x", count: 257)], timeout: 3) != nil, "argument length is bounded")+ expect(GuestProcessSpawnPolicy.validate(executable: "ps", arguments: ["x\n"], timeout: 3) != nil, "control characters are refused")+ expect(GuestProcessSpawnPolicy.validate(executable: "ps", arguments: [], timeout: 0.09) != nil, "short timeout is refused")+ expect(GuestProcessSpawnPolicy.validate(executable: "ps", arguments: [], timeout: 10.01) != nil, "long timeout is refused")+ }++ // MARK: - Setup Assistant++ static func setupAssistantState() {+ for machine in ["AppleTV5,3", "AppleTV18,1"] {+ expect(GuestSetupAssistantState.usesTVPolicy(machine: machine), "TV policy for \(machine)")+ }+ for machine in ["iPhone17,3", "iPad16,1", "AudioAccessory5,1", ""] {+ expect(!GuestSetupAssistantState.usesTVPolicy(machine: machine), "existing policy for \(machine)")+ }+ func state(_ done: Bool, _ version: Int?, _ current: Int?, tv: Bool = true, completed: Bool = true) -> GuestSetupAssistantState {+ GuestSetupAssistantState(setupDone: done, version: version, currentVersion: current, requiresTVCompletion: tv, tvCompleted: completed)+ }+ expect(!state(true, 15, 15).pending, "native TV completion with its current version")+ expect(!state(true, 16, 15).pending, "newer recorded TV version")+ expect(state(false, 15, 15).pending, "TV SetupDone remains required")+ expect(state(true, 14, 15).pending, "TV update setup remains pending")+ expect(state(true, nil, 15).pending, "missing TV version is pending")+ expect(state(true, 15, 15, completed: false).pending, "native TV success flag remains required")+ expect(state(true, 15, nil).pending, "unknown TV current version cannot prove completion")+ expect(!state(true, 11, 11, tv: false, completed: false).pending, "iPhone ignores the TV flag")+ expect(state(false, 11, 11, tv: false).pending, "iPhone SetupDone remains required")+ expect(state(true, 10, 11, tv: false).pending, "iPhone update version remains required")+ expect(!state(true, nil, nil, tv: false).pending, "existing unknown-version fallback")+ expect(state(true, nil, 11, tv: false).pending, "HomePod keeps its existing version policy")+ }+// MARK: - Service Profilestatic let labelPattern = "^[A-Za-z0-9][A-Za-z0-9._:\\[\\]-]{0,200}$"@@@ -411,30 -427,20 +440,46 @@@expect((try? GuestPointerScroll.buttons(["buttons": bad])) == nil, "buttons \(bad) is refused")}}++ // MARK: - Bootstrap Platform++ static func bootstrapPlatform() {+ let architecture = GuestBootstrapPlatform.packageArchitecture+ expectEqual(architecture("roothide", false), "iphoneos-arm64e")+ expectEqual(architecture("rootless", false), "iphoneos-arm64")+ expectEqual(architecture("roothide", true), "appletvos-arm64e", "an Apple TV takes Irisin's Apple TV package")+ expectEqual(architecture("rootless", true), nil, "Irisin serves no rootless Apple TV")+ expectEqual(architecture("rootful", false), nil)+ expect(GuestBootstrapPlatform.packageRequiresApp(architecture: "iphoneos-arm64e"), "the iOS packages carry the app")+ expect(GuestBootstrapPlatform.packageRequiresApp(architecture: "iphoneos-arm64"), "the iOS packages carry the app")+ expect(!GuestBootstrapPlatform.packageRequiresApp(architecture: "appletvos-arm64e"), "the Apple TV package has none")+ expectEqual(GuestBootstrapPlatform.mainExecutablePlatform(), UInt32(PLATFORM_MACOS), "this test runs as macOS")+ expect(!GuestBootstrapPlatform.isTVOS, "the Mac is not tvOS")+ }}++extension LogicTests {+ static func displayRotationMapping() {+ let specs = ["0", "90", "180", "270"]+ let coverDevices = [1, 4, 2, 3]+ let innerDevices = [3, 1, 4, 2]+ let innerDegrees = [270, 0, 90, 180]+ for index in specs.indices {+ let cover = GuestDisplayRotation.resolve(specs[index], deviceOrientations: [1, 2, 3, 4])+ expectEqual(cover?.deviceOrientation, coverDevices[index], "cover uses native toll-free map")+ expectEqual(cover?.accelerometerDegrees, Int(specs[index]), "ordinary gravity direction is preserved")+ let inner = GuestDisplayRotation.resolve(specs[index], deviceOrientations: [3, 4, 2, 1])+ expectEqual(inner?.deviceOrientation, innerDevices[index], "inner uses measured native inverse map")+ expectEqual(inner?.accelerometerDegrees, innerDegrees[index], "inner gravity and device pose agree")+ expectEqual(inner?.interfaceDegrees, Int(specs[index]), "receipt stays in logical interface degrees")+ }+ for (alias, canonical) in [("portrait", "0"), ("LEFT", "90"), ("portrait-upside-down", "180"), ("right", "270")] {+ expectEqual(GuestDisplayRotation.resolve(alias, deviceOrientations: [3, 4, 2, 1]),+ GuestDisplayRotation.resolve(canonical, deviceOrientations: [3, 4, 2, 1]), "existing rotation aliases")+ }+ expect(GuestDisplayRotation.resolve("45", deviceOrientations: [1, 2, 3, 4]) == nil, "unknown rotation is refused")+ expect(GuestDisplayRotation.resolve("0", deviceOrientations: [1, 1, 3, 4]) == nil, "non-invertible native map is refused")+ expect(GuestDisplayRotation.resolve("0", deviceOrientations: [1, 2, 3, 5]) == nil, "invalid device orientation is refused")+ expect(GuestDisplayRotation.resolve("0", deviceOrientations: [1, 2]) == nil, "partial native map is refused")+ }+}diff --cc VPhoneDaemon/Tests/run-logic-tests.shindex 6816190f,e63f1dbf..48575107--- a/VPhoneDaemon/Tests/run-logic-tests.sh+++ b/VPhoneDaemon/Tests/run-logic-tests.sh@@@ -16,8 -16,8 +16,10 @@@ trap '/bin/rm -rf "$temporary"' EXI"$daemon/Daemon/GuestFirstBootSettle.swift" \"$daemon/Daemon/GuestDeviceNameRule.swift" \"$daemon/Daemon/GuestPointerScroll.swift" \+ "$daemon/Daemon/GuestDisplayRotation.swift" \+ "$daemon/Daemon/GuestProcessSpawnPolicy.swift" \+ "$daemon/Daemon/Bootstrap/GuestBootstrapPlatform.swift" \+ "$daemon/Daemon/GuestSetupAssistantState.swift" \"$daemon/Tests/LogicTests.swift" \-o "$temporary/logic-tests"diff --cc VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareGuestSystemPatchSet.swiftindex bb10da46,e497665e..3a6b36c3--- a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareGuestSystemPatchSet.swift+++ b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwareGuestSystemPatchSet.swift@@@ -28,10 -28,9 +28,12 @@@ public enum FirmwareGuestSystemPatchSepublic static let metalCacheReuseMarker = "/usr/lib/vphone-metal-cache-reuse"public static let gyroscope = "system-backboardd-cfw-gyroscope"public static let accelerometer = "system-backboardd-cfw-accelerometer"+ public static let hinge = "system-backboardd-cfw-hinge"+ public static let foldGuard = "system-springboard-cfw-fold_guard"+ public static let foldDisplay = "system-springboard-cfw-fold_display"public static let attitude = "system-apps-cfw-attitude"+ public static let followUpGroups = "system-preferences-cfw-followup_groups"+ public static let signInSheets = "system-apps-cfw-signin_sheets"public static let arm64eX1DyldBootstrap = "system-dyld-boot-arm64e_x1_bootstrap"public static let arm64eX1CacheBootstrap = "dyld-boot-arm64e_x1_bootstrap"public static let arm64eX1CacheRemaining = "dyld-cfw-arm64e_x1_cache"diff --cc VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwarePatchSetCatalog.swiftindex 10138eaa,f08919bb..fcce3506--- a/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwarePatchSetCatalog.swift+++ b/VPhoneExecutable/VPhoneCommand/FirmwarePatcher/PatchSets/FirmwarePatchSetCatalog.swift@@@ -69,8 -69,7 +69,8 @@@ public enum FirmwarePatchSetCatalog.union(hypervisorConcealmentPatches).union(experimentalIdentityPatches).union([FirmwareGuestSystemPatchSet.otaUserland, FirmwareGuestSystemPatchSet.homePodTopCap, FirmwareGuestSystemPatchSet.homePodSetupBypass, FirmwareGuestSystemPatchSet.homePodAudioProduct, FirmwareGuestSystemPatchSet.homePodWelcome, FirmwareGuestSystemPatchSet.homePodSiriSpeech, FirmwareGuestSystemPatchSet.homePodOTAUserland, FirmwareGuestSystemPatchSet.homePodSoundGlow, FirmwareGuestSystemPatchSet.homePodCryptexStaging, FirmwareGuestSystemPatchSet.homePodCryptexClass, FirmwareGuestSystemPatchSet.homePodAdHocInstall])- .union([FirmwareKernelCustomFirmwarePatchSet.tvTPROPagers, misTrustAuthPatch, FirmwareGuestSystemPatchSet.settingsRootRows, FirmwareGuestSystemPatchSet.settingsSoftwareUpdate, FirmwareGuestSystemPatchSet.tvTPRO, FirmwareGuestSystemPatchSet.tvOTAUserland])+ .union([FirmwareKernelCustomFirmwarePatchSet.tvTPROPagers, misTrustAuthPatch, FirmwareGuestSystemPatchSet.settingsRootRows, FirmwareGuestSystemPatchSet.settingsSoftwareUpdate, FirmwareGuestSystemPatchSet.tvTPRO, FirmwareGuestSystemPatchSet.tvOTAUserland, FirmwareGuestSystemPatchSet.tvSetupDisplayLookup, FirmwareGuestSystemPatchSet.tvSetupFocus, FirmwareGuestSystemPatchSet.tvLocalActivation, FirmwareGuestSystemPatchSet.tvLegacySetup])+ .union([FirmwareGuestSystemPatchSet.prebootFoldableProductId])/// ProMotion: the 120 Hz timing for the paravirtual display.///@@@ -255,10 -253,10 +255,12 @@@"preboot-cfw-devicetree_microphone_array",RestoreRamDiskSealPatcher.patchIdentifier,"system-apps-cfw-attitude",+ FirmwareGuestSystemPatchSet.signInSheets,+ FirmwareGuestSystemPatchSet.followUpGroups,"system-backboardd-cfw-gyroscope","system-backboardd-cfw-accelerometer",+ "system-backboardd-cfw-hinge",+ "system-springboard-cfw-fold_guard","system-campo-cfw-entitlements","system-debugserver-cfw-install",FirmwareGuestSystemPatchSet.arm64eX1DyldBootstrap,diff --cc VPhoneExecutable/VPhoneVirtualization/Build/ValidateBundle.shindex e6f63491,bf851c5b..6333639b--- a/VPhoneExecutable/VPhoneVirtualization/Build/ValidateBundle.sh+++ b/VPhoneExecutable/VPhoneVirtualization/Build/ValidateBundle.sh@@@ -148,9 -159,9 +159,9 @@@ if /usr/bin/grep -q 'AVPSEPBooter-' "$rexit 1fi- for name in vphoned vphoned-tvos vphoned-watchos libswiftCompatibilitySpan.dylib launchdhook-vphone.dylib SystemHook-vphone.dylib libcamfix.dylib \+ for name in vphoned vphoned-tvos vphoned-watchos libvphonetvsetupfocus.dylib libswiftCompatibilitySpan.dylib launchdhook-vphone.dylib SystemHook-vphone.dylib libcamfix.dylib \libvcamcaptured.dylib libmisfix.dylib libhapticsfix.dylib libbatteryhealthfix.dylib libdevicehubfix.dylib libdevicename.dylib \- libprefsfix.dylib libsigninfix.dylib libvphonegyro.dylib libvphoneaccelerometer.dylib libvphoneattitude.dylib libvphonehomepoddisplay.dylib libvphonecryptexstaging.dylib libvphoneinstallpersona.dylib libvphonehomepodmisfix.dylib vphone-homepod-setup libAppleParavirtCompilerPluginIOGPUFamily.dylib; do+ libprefsfix.dylib libsigninfix.dylib libvphonegyro.dylib libvphoneaccelerometer.dylib libvphonehinge.dylib libvphonefoldguard.dylib libvphonefolddisplay.dylib libvphoneposterprobe.dylib libvphoneattitude.dylib libvphonehomepoddisplay.dylib libvphonecryptexstaging.dylib libvphoneinstallpersona.dylib libvphonehomepodmisfix.dylib vphone-homepod-setup libAppleParavirtCompilerPluginIOGPUFamily.dylib; dorequire_signed_macho "$guest/$name"done# iOS 18 must be able to resolve the compatibility library without Xcode.diff --cc VPhoneExecutable/VPhoneVirtualization/Resources/Localizable.xcstringsindex 5174ecc9,ae50bbc1..88ae46cc--- a/VPhoneExecutable/VPhoneVirtualization/Resources/Localizable.xcstrings+++ b/VPhoneExecutable/VPhoneVirtualization/Resources/Localizable.xcstrings@@@ -1,6 -1,1161 +1,1228 @@@{"sourceLanguage" : "en","strings" : {++ "Angle" : {++++ },++ "Animate the fold (sweep)" : {++++ },+ "Apple TV Remote" : {++ },++ "Book" : {+++ },+ "Click or hold. Arrow keys navigate.\nReturn selects. Esc goes back." : {++ },++ "Closed uses the cover screen. Book and Open use the inner screen. Screen changes apply while the device is running." : {++++ },++ "Closed" : {+++ },+ "Down" : {++ },++ "Duration" : {++++ },++ "Fold Posture" : {++++ },++ "Folded to %@ — %lld°." : {++ "localizations" : {++ "en" : {++ "stringUnit" : {++ "state" : "new",++ "value" : "Folded to %1$@ — %2$lld°."++ }++ }++ }++ },++ "Folding…" : {++++ },++ "Hinge Sensor" : {++++ },++ "Hinge Service" : {++++ },++ "Hinge State" : {+++ },+ "Left" : {+ },+ "Play / Pause" : {+ },+ "Right" : {++ },++ "Screen State" : {+++ },+ "Select" : {++ },++ "Set Again" : {+++ },+ "Siri" : {++ },++ "Sweep Again" : {++++ },++ "Sweep" : {+++ },+ "TV / Control Center" : {++ },++ "The hinge service is off; only the pose changed." : {++++ },++ "The pose reaches SpringBoard and the virtual hinge sensor (CoreMotion, CoreDevice). The screen's own layout follows the displays the guest registers, so a single-display guest keeps one full-screen layout." : {++++ },++ "The pose reaches SpringBoard and the virtual hinge sensor (CoreMotion, CoreDevice). The window folds with it, and the guest's real panel follows the posture at the next start — the host does not resize a running display. A single-display guest keeps one full-screen layout." : {++++ },++ "Unable to fold. %@" : {+++ },+ "Up" : {+ },+ "%lld of %lld defaults · %lld unsaved changes" : {+ "localizations": {+ "en": {+ "stringUnit": {+ "state": "new",+ "value": "%1$lld of %2$lld defaults · %3$lld unsaved changes"+ }+ }+ }+ },+ "Change the search or filter to browse other defaults." : {},+ "Debug Session" : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Debug Session"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "デバッグセッション"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "디버그 세션"+ }+ },+ "vi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Phiên gỡ lỗi"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "调试会话"+ }+ }+ }+ },+ "Default Value" : {},+ "Discard Changes" : {},+ "Discard Edit" : {},+ "Discard unsaved changes?" : {},+ "Done" : {},+ "Edited" : {},+ "Enabled" : {},+ "HomePod User Defaults" : {},+ "HomePod user defaults" : {},+ "Maximum" : {},+ "Metadata" : {},+ "Minimum" : {},+ "No Matching Defaults" : {},+ "Override" : {},+ "Overrides Only" : {},+ "Read current values and metadata. Unsaved edits are preserved." : {},+ "Reading defaults from SoundBoard…" : {},+ "Remove this setting's override in SoundBoard." : {},+ "Requires reinitialization; restart SoundBoard after applying this change." : {},+ "Reset to Default" : {},+ "Restart SoundBoard" : {},+ "rootless (unavailable)" : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "rootless (unavailable)"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "rootless(利用不可)"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "rootless (사용할 수 없음)"+ }+ },+ "vi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "rootless (không khả dụng)"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "rootless(不可用)"+ }+ }+ }+ },+ "Search names and descriptions" : {},+ "Session ended on signal %lld" : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Session ended on signal %lld"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "セッションはシグナル %lld で終了しました"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "세션이 시그널 %lld(으)로 종료되었습니다"+ }+ },+ "vi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Phiên đã kết thúc do tín hiệu %lld"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "会话因信号 %lld 结束"+ }+ }+ }+ },+ "Session exited with status %lld" : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Session exited with status %lld"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "セッションはステータス %lld で終了しました"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "세션이 상태 %lld(으)로 종료되었습니다"+ }+ },+ "vi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Phiên đã kết thúc với trạng thái %lld"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "会话已退出,状态码 %lld"+ }+ }+ }+ },+ "Stored Override" : {},+ "Terminal" : {+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Terminal"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "ターミナル"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "터미널"+ }+ },+ "vi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Terminal"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "终端"+ }+ }+ }+ },+ "This value type is available for browsing only." : {},+ "User Defaults" : {},+ "User Defaults…" : {},+ "Animation": {+ },+ "Commands without a reply report submission. SoundBoard applies them asynchronously.": {+ },+ "Copy Reply": {+ },+ "HomePod": {+ },+ "Phase": {+ },+ "Reload Controls": {+ },+ "Send Command": {+ },+ "SoundBoard Debug Control": {+ },+ "SoundBoard Reply": {+ },+ "This operation's native signature is unavailable on the guest firmware.": {+ },+ "Control Center" : {+ "localizations" : {+ "en" : { "stringUnit" : { "state" : "translated", "value" : "Control Center" } },+ "ja" : { "stringUnit" : { "state" : "translated", "value" : "コントロールセンター" } },+ "ko" : { "stringUnit" : { "state" : "translated", "value" : "제어 센터" } },+ "vi" : { "stringUnit" : { "state" : "translated", "value" : "Trung tâm điều khiển" } },+ "zh-Hans" : { "stringUnit" : { "state" : "translated", "value" : "控制中心" } }+ }+ },+ "Side Button" : {+ "localizations" : {+ "en" : { "stringUnit" : { "state" : "translated", "value" : "Side Button" } },+ "ja" : { "stringUnit" : { "state" : "translated", "value" : "サイドボタン" } },+ "ko" : { "stringUnit" : { "state" : "translated", "value" : "측면 버튼" } },+ "vi" : { "stringUnit" : { "state" : "translated", "value" : "Nút sườn" } },+ "zh-Hans" : { "stringUnit" : { "state" : "translated", "value" : "侧边按钮" } }+ }+ },+ "Show Attitude Dials" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : { "stringUnit" : { "state" : "translated", "value" : "Show Attitude Dials" } },+ "zh-Hans" : { "stringUnit" : { "state" : "translated", "value" : "显示姿态刻度盘" } }+ }+ },+ "Drag or scroll a dial to adjust its angle. Hover to show its rotation axis." : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : { "stringUnit" : { "state" : "translated", "value" : "Drag or scroll a dial to adjust its angle. Hover to show its rotation axis." } },+ "zh-Hans" : { "stringUnit" : { "state" : "translated", "value" : "按住拖动或滚动刻度盘可调整角度,悬停时显示对应旋转轴。" } }+ }+ },+ "Angles describe a stationary pose. Zero is face up. Enable simulation before launching the guest app." : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Angles describe a stationary pose. Zero is face up. Enable simulation before launching the guest app."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "角度表示静止姿态。归零时屏幕朝上。请在启动来宾 App 前启用模拟。"+ }+ }+ }+ },+ "Device Attitude" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Device Attitude"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "设备姿态"+ }+ }+ }+ },+ "Enable the device attitude patch and relaunch the guest app." : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Enable the device attitude patch and relaunch the guest app."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "请启用设备姿态补丁并重新启动来宾 App。"+ }+ }+ }+ },+ "Guest did not apply the attitude configuration" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Guest did not apply the attitude configuration"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "来宾未应用设备姿态设定"+ }+ }+ }+ },+ "Pitch" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Pitch"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "俯仰"+ }+ }+ }+ },+ "Roll" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Roll"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "横滚"+ }+ }+ }+ },+ "Roll and yaw: -180 to 180°. Pitch: -90 to 90°." : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Roll and yaw: -180 to 180°. Pitch: -90 to 90°."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "横滚和偏航:-180 到 180°。俯仰:-90 到 90°。"+ }+ }+ }+ },+ "Yaw" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Yaw"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "偏航"+ }+ }+ }+ },+ "%@ axis" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "%@ axis"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "%@ 轴"+ }+ }+ }+ },+ "3D Gyroscope" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "3D Gyroscope"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "3D 陀螺仪"+ }+ }+ }+ },+ "Angular Velocity" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Angular Velocity"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "角速度"+ }+ }+ }+ },+ "Changes sync to the guest immediately. Disabling keeps your axis values." : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Changes sync to the guest immediately. Disabling keeps your axis values."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "修改会实时同步给来宾。禁用时保留三轴设定。"+ }+ }+ }+ },+ "Enable Simulation" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Enable Simulation"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "启用模拟"+ }+ }+ }+ },+ "Enter a number from -1000 to 1000 for each axis." : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Enter a number from -1000 to 1000 for each axis."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "每个轴请输入 -1000 到 1000 之间的数字。"+ }+ }+ }+ },+ "Guest did not apply the gyroscope configuration" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Guest did not apply the gyroscope configuration"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "来宾未应用陀螺仪设定"+ }+ }+ }+ },+ "Motion Sensors" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Motion Sensors"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "运动传感器"+ }+ }+ }+ },+ "Reset" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Reset"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "复位"+ }+ }+ }+ },+ "Retry" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Retry"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "重试"+ }+ }+ }+ },+ "Set all three axes to zero" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Set all three axes to zero"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "将三个轴归零"+ }+ }+ }+ },+ "Synced" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Synced"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "已同步"+ }+ }+ }+ },+ "Syncing…" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Syncing…"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "正在同步…"+ }+ }+ }+ },+ "Waiting for sensor service…" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Waiting for sensor service…"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "等待运动传感器服务…"+ }+ }+ }+ },+ "Use Hardware Keyboard" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Use Hardware Keyboard"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "使用硬件键盘"+ }+ }+ }+ },+ "Changing the hardware keyboard requires restarting the virtual machine." : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Changing the hardware keyboard requires restarting the virtual machine."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "更改硬件键盘需要重新启动虚拟机。"+ }+ }+ }+ },+ "Enable Hardware Keyboard?" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Enable Hardware Keyboard?"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "启用硬件键盘?"+ }+ }+ }+ },+ "Disable Hardware Keyboard?" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Disable Hardware Keyboard?"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "停用硬件键盘?"+ }+ }+ }+ },+ "Changing the hardware keyboard requires restarting the virtual machine. Save your work in the guest first. The setting is saved for this machine. With the hardware keyboard disabled, tap a text field to use the guest's software keyboard." : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Changing the hardware keyboard requires restarting the virtual machine. Save your work in the guest first. The setting is saved for this machine. With the hardware keyboard disabled, tap a text field to use the guest's software keyboard."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "更改硬件键盘需要重新启动虚拟机。请先保存客体系统中的工作。设置会保存在这台虚拟机中。停用硬件键盘后,点击文本框即可使用客体系统的软件键盘。"+ }+ }+ }+ },+ "Restart and Apply" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Restart and Apply"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "重新启动并应用"+ }+ }+ }+ },+ "Unable to Change Hardware Keyboard" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Unable to Change Hardware Keyboard"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "无法更改硬件键盘"+ }+ }+ }+ },+ "Unable to Restart Virtual Machine" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Unable to Restart Virtual Machine"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "无法重新启动虚拟机"+ }+ }+ }+ },+ "Unable to Change Unlock at Startup" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Unable to Change Unlock at Startup"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "起動時のロック解除を変更できません"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "시작 시 잠금 해제를 변경할 수 없음"+ }+ },+ "vi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Không thể thay đổi Mở khóa khi khởi động"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "无法更改启动时解锁"+ }+ }+ }+ },+ "Unlock at Startup" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Unlock at Startup"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "起動時にロックを解除"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "시작 시 잠금 해제"+ }+ },+ "vi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Mở khóa khi khởi động"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "启动时解锁"+ }+ }+ }+ },+ "Wake the guest and dismiss its Lock Screen each time it starts." : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Wake the guest and dismiss its Lock Screen each time it starts."+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "ゲストが起動するたびに画面をスリープ解除し、ロック画面を閉じます。"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "게스트가 시작될 때마다 화면을 깨우고 잠금 화면을 닫습니다."+ }+ },+ "vi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Đánh thức máy khách và đóng Màn hình khóa mỗi khi khởi động."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "客户机每次启动时唤醒屏幕并关闭锁定屏幕。"+ }+ }+ }+ },+ "Unable to Change Sync Host Location" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Unable to Change Sync Host Location"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "「ホストの位置情報を同期」を変更できません"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "호스트 위치 동기화를 변경할 수 없음"+ }+ },+ "vi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Không thể thay đổi Đồng bộ vị trí máy chủ"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "无法更改同步主机位置"+ }+ }+ }+ },+ "Location Services Are Off in the Guest" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Location Services Are Off in the Guest"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "ゲストの位置情報サービスがオフです"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "게스트의 위치 서비스가 꺼져 있음"+ }+ },+ "vi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Dịch vụ định vị trên máy khách đang tắt"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "客户机的定位服务已关闭"+ }+ }+ }+ },+ "Turn on Location Services in the guest's Settings > Privacy & Security > Location Services. Until then, apps in the guest get no location; the Mac's location is sent again once they are on." : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Turn on Location Services in the guest's Settings > Privacy & Security > Location Services. Until then, apps in the guest get no location; the Mac's location is sent again once they are on."+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "ゲストの「設定」>「プライバシーとセキュリティ」>「位置情報サービス」で位置情報サービスをオンにしてください。オンにするまで、ゲストのアプリは位置情報を取得できません。オンにすると、Mac の位置情報がもう一度送信されます。"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "게스트의 설정 > 개인정보 보호 및 보안 > 위치 서비스에서 위치 서비스를 켜십시오. 켜기 전까지 게스트의 앱은 위치를 받을 수 없으며, 켜면 Mac의 위치가 다시 전송됩니다."+ }+ },+ "vi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Hãy bật Dịch vụ định vị trong Cài đặt > Quyền riêng tư & Bảo mật > Dịch vụ định vị của máy khách. Trước khi bật, các ứng dụng trên máy khách không nhận được vị trí; vị trí của máy Mac sẽ được gửi lại khi dịch vụ được bật."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "请在客户机的“设置”>“隐私与安全性”>“定位服务”中打开定位服务。打开之前,客户机里的 App 拿不到位置;打开后会重新发送这台 Mac 的位置。"+ }+ }+ }+ },+ "Stop the Virtual Machine?" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Stop the Virtual Machine?"+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "仮想マシンを停止しますか?"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "가상 머신을 중지하시겠습니까?"+ }+ },+ "vi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Dừng máy ảo?"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "要停止虚拟机吗?"+ }+ }+ }+ },+ "Quitting turns the guest off at once, as pulling the power would. Anything not saved in the guest is lost." : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Quitting turns the guest off at once, as pulling the power would. Anything not saved in the guest is lost."+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "終了すると、電源を抜いたときのようにゲストがすぐにオフになります。ゲストで保存していない内容は失われます。"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "종료하면 전원을 뽑은 것처럼 게스트가 즉시 꺼집니다. 게스트에서 저장하지 않은 내용은 모두 사라집니다."+ }+ },+ "vi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Thoát sẽ tắt máy khách ngay lập tức, giống như rút nguồn. Mọi thứ chưa lưu trong máy khách sẽ bị mất."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "退出会立即关闭客户机,如同拔掉电源。客户机中未存储的内容将会丢失。"+ }+ }+ }+ },+ "The guest shuts down, then the virtual machine stops. A guest still running after 15 seconds is turned off, as pulling the power would." : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "The guest shuts down, then the virtual machine stops. A guest still running after 15 seconds is turned off, as pulling the power would."+ }+ },+ "ja" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "ゲストをシステム終了してから仮想マシンを停止します。15 秒たってもゲストが動作している場合は、電源を抜いたときのようにオフになります。"+ }+ },+ "ko" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "게스트를 종료한 다음 가상 머신을 중지합니다. 15초가 지나도 게스트가 실행 중이면 전원을 뽑은 것처럼 꺼집니다."+ }+ },+ "vi" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Máy khách sẽ tắt máy, sau đó máy ảo dừng. Nếu sau 15 giây máy khách vẫn chạy, nó sẽ bị tắt như khi rút nguồn."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "客户机先关机,然后虚拟机停止。如果 15 秒后客户机仍在运行,将如同拔掉电源一样关闭它。"+ }+ }+ }+ },+ "The virtual machine stopped and the keyboard setting was saved. Launch this machine again. Unable to restart: %@" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "The virtual machine stopped and the keyboard setting was saved. Launch this machine again. Unable to restart: %@"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "虚拟机已停止,键盘设置已保存。请再次启动这台虚拟机。无法重新启动:%@"+ }+ }+ }+ },+ "Recording in Progress" : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Recording in Progress"+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "正在录制"+ }+ }+ }+ },+ "Stop the screen recording before changing the hardware keyboard." : {+ "extractionState" : "manual",+ "localizations" : {+ "en" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "Stop the screen recording before changing the hardware keyboard."+ }+ },+ "zh-Hans" : {+ "stringUnit" : {+ "state" : "translated",+ "value" : "请先停止屏幕录制,再更改硬件键盘。"+ }+ }+ }+ },"%@ / %@" : {"localizations" : {"en" : {diff --cc VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/homepod-mini.plistindex 5016a6e9,41f33d1e..6e460460--- a/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/homepod-mini.plist+++ b/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/homepod-mini.plist@@@ -102,18 -103,16 +103,19 @@@<string>preboot-cfw-devicetree_board_audio</string><string>preboot-cfw-devicetree_haptics</string><string>preboot-cfw-devicetree_iphone_product</string>- <string>preboot-cfw-devicetree_microphone_array</string><string>preboot-cfw-devicetree_foldable_vm_subtype</string>+ <string>preboot-cfw-devicetree_microphone_array</string><string>preboot-homepod-exp-audio_product</string>+ <string>preboot-exp-devicetree_foldable_product_id</string><string>restoreramdisk-boot-apfs_sha3_hash</string><string>system-apps-cfw-attitude</string>+ <string>system-apps-cfw-signin_sheets</string>+ <string>system-preferences-cfw-followup_groups</string><string>system-backboardd-cfw-gyroscope</string><string>system-backboardd-cfw-accelerometer</string><string>system-campo-cfw-entitlements</string>+ <string>system-backboardd-cfw-hinge</string>+ <string>system-springboard-cfw-fold_guard</string>- <string>system-bluetoothd-cfw-btvc_le_connection</string><string>system-debugserver-cfw-install</string><string>system-dyld-boot-arm64e_x1_bootstrap</string><string>system-diskimagesiod-cfw-is_mount_complete</string>diff --cc VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos-4k.plistindex b5eb2e86,9d2b6d15..b7f637ad--- a/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos-4k.plist+++ b/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos-4k.plist@@@ -114,10 -116,10 +116,11 @@@<string>preboot-cfw-devicetree_iphone_product</string><string>preboot-cfw-devicetree_foldable_vm_subtype</string><string>preboot-cfw-devicetree_microphone_array</string>+ <string>preboot-exp-devicetree_foldable_product_id</string><string>restoreramdisk-boot-apfs_sha3_hash</string><string>system-apps-cfw-attitude</string>- <string>system-bluetoothd-cfw-btvc_le_connection</string>+ <string>system-apps-cfw-signin_sheets</string>+ <string>system-preferences-cfw-followup_groups</string><string>system-backboardd-cfw-gyroscope</string><string>system-backboardd-cfw-accelerometer</string><string>system-campo-cfw-entitlements</string>diff --cc VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos.plistindex 71e966a7,cdea2c3d..aa83834e--- a/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos.plist+++ b/VPhoneExecutable/VPhoneVirtualization/Resources/patches_presets/tvos.plist@@@ -118,10 -119,10 +119,11 @@@<string>preboot-cfw-devicetree_iphone_product</string><string>preboot-cfw-devicetree_foldable_vm_subtype</string><string>preboot-cfw-devicetree_microphone_array</string>+ <string>preboot-exp-devicetree_foldable_product_id</string><string>restoreramdisk-boot-apfs_sha3_hash</string><string>system-apps-cfw-attitude</string>- <string>system-bluetoothd-cfw-btvc_le_connection</string>+ <string>system-apps-cfw-signin_sheets</string>+ <string>system-preferences-cfw-followup_groups</string><string>system-backboardd-cfw-gyroscope</string><string>system-backboardd-cfw-accelerometer</string><string>system-campo-cfw-entitlements</string>diff --cc VPhoneExecutable/VPhoneVirtualization/UI/UserInterface/VPhoneVirtualMachineWindowController.swiftindex c52a3d93,2c633f34..fed4b3b1--- a/VPhoneExecutable/VPhoneVirtualization/UI/UserInterface/VPhoneVirtualMachineWindowController.swift+++ b/VPhoneExecutable/VPhoneVirtualization/UI/UserInterface/VPhoneVirtualMachineWindowController.swift@@@ -132,11 -114,7 +132,8 @@@ class VPhoneVirtualMachineWindowControlwindow.center()}window.setFrameAutosaveName(sceneName)+ setMinimumContentSize(for: .portrait, on: window)observeKeyState(of: window)- // A frame saved while the guest was sideways is turned back: the guest- // boots in portrait, and the orientation poll turns it again if not.- if !homePodGuest { applyOrientation(.portrait, to: window, force: true) }// An empty unified toolbar gives the title bar its full height. The Home// button is a titlebar accessory rather than a toolbar item so that adiff --cc VPhoneGuestComponents/Makefileindex 4a9745aa,cb1148df..a26b019d--- a/VPhoneGuestComponents/Makefile+++ b/VPhoneGuestComponents/Makefile@@@ -157,7 -144,7 +160,7 @@@ GPU_DYNAMIC_LOOKUP_SYMS :=VIRTIOSOUND := $(STAGE)/virtiosound/VPhoneVirtIOSound.driverVIRTIOSOUND_SOURCES := $(wildcard VirtIOSound/*.m VirtIOSound/*.c)VIRTIOSOUND_INCLUDES := $(wildcard VirtIOSound/*.h) VirtIOSound/Info.plist VirtIOSound/AudioServerDriver.tbd- ARTIFACTS := $(CAMFIX) $(VCAMCAPTURED) $(LAUNCHHOOK) $(SYSTEMHOOK) $(MISFIX) $(HAPTICSFIX) $(BATTERYHEALTHFIX) $(DEVICEHUBFIX) $(DEVICENAME) $(PREFSFIX) $(SIGNINFIX) $(GYROSCOPE) $(ACCELEROMETER) $(HINGE) $(FOLDGUARD) $(FOLDDISPLAY) $(POSTERPROBE) $(ATTITUDE) $(HOMEPODDISPLAY) $(CRYPTEXSTAGING) $(HOMEPODPERSONA) $(HOMEPODMISFIX) $(HOMEPODSETUP) $(GPU_PLUGIN) $(VIRTIOSOUND)-ARTIFACTS := $(CAMFIX) $(VCAMCAPTURED) $(LAUNCHHOOK) $(SYSTEMHOOK) $(MISFIX) $(HAPTICSFIX) $(BATTERYHEALTHFIX) $(DEVICEHUBFIX) $(DEVICENAME) $(PREFSFIX) $(SIGNINFIX) $(GYROSCOPE) $(ACCELEROMETER) $(ATTITUDE) $(HOMEPODDISPLAY) $(CRYPTEXSTAGING) $(HOMEPODPERSONA) $(HOMEPODMISFIX) $(HOMEPODSETUP) $(TVSETUPFOCUS) $(GPU_PLUGIN) $(VIRTIOSOUND)++ARTIFACTS := $(CAMFIX) $(VCAMCAPTURED) $(LAUNCHHOOK) $(SYSTEMHOOK) $(MISFIX) $(HAPTICSFIX) $(BATTERYHEALTHFIX) $(DEVICEHUBFIX) $(DEVICENAME) $(PREFSFIX) $(SIGNINFIX) $(GYROSCOPE) $(ACCELEROMETER) $(HINGE) $(FOLDGUARD) $(FOLDDISPLAY) $(POSTERPROBE) $(ATTITUDE) $(HOMEPODDISPLAY) $(CRYPTEXSTAGING) $(HOMEPODPERSONA) $(HOMEPODMISFIX) $(HOMEPODSETUP) $(TVSETUPFOCUS) $(GPU_PLUGIN) $(VIRTIOSOUND)PLISTS := $(STAGE)/camfix/libcamfix.plist $(STAGE)/vcamcaptured/libvcamcaptured.plist \$(STAGE)/misfix/libmisfix.plistGPU_PROVENANCE := $(STAGE)/gpu/README.md@@@ -203,7 -190,7 +206,7 @@@ gpu: $(GPU_PLUGINpackage: all@rm -f $(ARCHIVE)- @/usr/bin/tar -cf $(ARCHIVE) -C $(STAGE) camfix vcamcaptured launchhook systemhook misfix hapticsfix batteryhealthfix devicehubfix devicename prefsfix signinfix gyroscope accelerometer hinge foldguard attitude homepoddisplay cryptexstaging homepodpersona homepodmisfix homepodsetup gpu virtiosound folddisplay- @/usr/bin/tar -cf $(ARCHIVE) -C $(STAGE) camfix vcamcaptured launchhook systemhook misfix hapticsfix batteryhealthfix devicehubfix devicename prefsfix signinfix gyroscope accelerometer attitude homepoddisplay cryptexstaging homepodpersona homepodmisfix homepodsetup tvsetupfocus gpu virtiosound++ @/usr/bin/tar -cf $(ARCHIVE) -C $(STAGE) camfix vcamcaptured launchhook systemhook misfix hapticsfix batteryhealthfix devicehubfix devicename prefsfix signinfix gyroscope accelerometer hinge foldguard attitude homepoddisplay cryptexstaging homepodpersona homepodmisfix homepodsetup tvsetupfocus gpu virtiosound folddisplay@echo "Packaged $(ARCHIVE)"test-loader-links:diff --cc VPhoneKit/VPhoneCoreKit/VirtualMachine/VPhoneGuestEnvironment.swiftindex e2c3a104,bb811f06..49d6a516--- a/VPhoneKit/VPhoneCoreKit/VirtualMachine/VPhoneGuestEnvironment.swift+++ b/VPhoneKit/VPhoneCoreKit/VirtualMachine/VPhoneGuestEnvironment.swift@@@ -30,11 -33,7 +37,8 @@@ public enum VPhoneGuestEnvironment/// Selection installs/removes these. A live hash sync may replace an/// installed copy, but must never reinstall a patch the user turned off.public static let selectedLibraries: Set<String> = [- "libvphonegyro.dylib",- "libvphoneaccelerometer.dylib",- "libvphoneattitude.dylib",- "libvphonehinge.dylib",- "libvphonefoldguard.dylib",- "libvphonefolddisplay.dylib",+ "libprefsfix.dylib", "libsigninfix.dylib",+ "libvphonegyro.dylib", "libvphoneaccelerometer.dylib", "libvphoneattitude.dylib",++ "libvphonehinge.dylib", "libvphonefoldguard.dylib", "libvphonefolddisplay.dylib",]}