Run a virtual iPhone on an Apple Silicon Mac.
Swift
Clarify service trimming is skipped on unsupported versions
Phineas Guo89e892e759e8
diff --git a/VPhoneLaunchpad/VPhoneLaunchpad/Localizable.xcstrings b/VPhoneLaunchpad/VPhoneLaunchpad/Localizable.xcstringsindex ba8946a2..5b3bca53 100644--- a/VPhoneLaunchpad/VPhoneLaunchpad/Localizable.xcstrings+++ b/VPhoneLaunchpad/VPhoneLaunchpad/Localizable.xcstrings@@ -1,13 +1,13 @@{"sourceLanguage" : "en","strings" : {- "Service trimming is available only for iOS 26 and iOS 27." : {+ "Service trimming is available only for iOS 26 and iOS 27. This step will be skipped on unsupported versions." : {"localizations" : {- "en" : { "stringUnit" : { "state" : "translated", "value" : "Service trimming is available only for iOS 26 and iOS 27." } },- "ja" : { "stringUnit" : { "state" : "translated", "value" : "サービスの削減は iOS 26 と iOS 27 でのみ利用できます。" } },- "ko" : { "stringUnit" : { "state" : "translated", "value" : "서비스 줄이기는 iOS 26 및 iOS 27에서만 사용할 수 있습니다." } },- "vi" : { "stringUnit" : { "state" : "translated", "value" : "Chỉ iOS 26 và iOS 27 hỗ trợ tinh gọn dịch vụ." } },- "zh-Hans" : { "stringUnit" : { "state" : "translated", "value" : "仅 iOS 26 和 iOS 27 支持服务裁剪。" } }+ "en" : { "stringUnit" : { "state" : "translated", "value" : "Service trimming is available only for iOS 26 and iOS 27. This step will be skipped on unsupported versions." } },+ "ja" : { "stringUnit" : { "state" : "translated", "value" : "サービスの削減は iOS 26 と iOS 27 でのみ利用できます。対応していないバージョンでは、この手順はスキップされます。" } },+ "ko" : { "stringUnit" : { "state" : "translated", "value" : "서비스 줄이기는 iOS 26 및 iOS 27에서만 사용할 수 있습니다. 지원하지 않는 버전에서는 이 단계를 건너뜁니다." } },+ "vi" : { "stringUnit" : { "state" : "translated", "value" : "Chỉ iOS 26 và iOS 27 hỗ trợ tinh gọn dịch vụ. Bước này sẽ được bỏ qua trên các phiên bản không hỗ trợ." } },+ "zh-Hans" : { "stringUnit" : { "state" : "translated", "value" : "仅 iOS 26 和 iOS 27 支持服务裁剪。不支持系统服务精简的版本将会跳过此项。" } }}},"An Apple TV is restored on its own, with keys of its own. Templates are made for iPhone and iPad." : {diff --git a/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadNewMachineView.swift b/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadNewMachineView.swiftindex beacaf6c..7cb637b8 100644--- a/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadNewMachineView.swift+++ b/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadNewMachineView.swift@@ -254,11 +254,11 @@ struct VPhoneLaunchpadNewMachineView: View {.sheet(isPresented: $showsAdvanced) {advancedSheet.environment(model)- .alert("Service trimming is available only for iOS 26 and iOS 27.", isPresented: $showsServiceTrimmingNotice) {+ .alert("Service trimming is available only for iOS 26 and iOS 27. This step will be skipped on unsupported versions.", isPresented: $showsServiceTrimmingNotice) {Button("OK", role: .cancel) {}}}- .alert("Service trimming is available only for iOS 26 and iOS 27.", isPresented: Binding(+ .alert("Service trimming is available only for iOS 26 and iOS 27. This step will be skipped on unsupported versions.", isPresented: Binding(get: { showsServiceTrimmingNotice && !showsAdvanced },set: { showsServiceTrimmingNotice = $0 },)) {diff --git a/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadSlimmingView.swift b/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadSlimmingView.swiftindex d0f5a6c5..11a5a135 100644--- a/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadSlimmingView.swift+++ b/VPhoneLaunchpad/VPhoneLaunchpad/Machines/VPhoneLaunchpadSlimmingView.swift@@ -140,7 +140,7 @@ struct VPhoneLaunchpadSlimmingSections: View {VStack(alignment: .leading, spacing: 4) {Text("About 140 launch daemons a research machine rarely needs, Apple Account's among them.")if warnsAboutServiceTrimming {- Text("Service trimming is available only for iOS 26 and iOS 27.")+ Text("Service trimming is available only for iOS 26 and iOS 27. This step will be skipped on unsupported versions.")}if !warnsAboutServiceTrimming, slimming.trimsServices {// terminusd and the nano daemons are among them.