Skip to content

Run a virtual iPhone on an Apple Silicon Mac.

Swift

Merge upstream main into iphone-duo-x1

Jacky04204af2b405
diff --cc Research/Guest/service_trimming.md
index 7ca13f7b,f60be6c6..e65738ce
--- a/Research/Guest/service_trimming.md
+++ b/Research/Guest/service_trimming.md
@@@ -44,7 -44,7 +44,7 @@@ load a disabled job at the next boot. I
| Group | Default | Labels | Why they can go |
| --- | --- | --- | --- |
- | `base` | on | 134 | Appendix A of the measurement below, less `siriactionsd`, `passd` and `financed` (list version 2). Nothing in vphone, IcliKit or the guest hooks talks to them |
-| `base` | on | 136 | Appendix A of the measurement below, less `siriactionsd` (list version 2). Nothing in vphone, IcliKit or the guest hooks talks to them |
++| `base` | on | 134 | Appendix A of the measurement below, less `siriactionsd` (list version 2), `passd` and `financed` (list version 3). Nothing in vphone, IcliKit or the guest hooks talks to them |
| `app_store` | on | `com.apple.appstored`, `com.apple.itunesstored` | Off with the App Store and iTunes Store apps a template removes. `appstorecomponentsd` is already in `base` |
| `signin_followup` | on | `com.apple.followupd`, `com.apple.appleidsetupd` | The sign-in follow-up and Apple Account setup prompts. They complement `libsigninfix`'s pane suppression. A guest that went through `setup.skip` has no follow-up items, so no orphaned badge is left |
| `accounts` | off, `groups: ["accounts"]` | `com.apple.akd`, `com.apple.amsaccountsd`, `com.apple.appleaccountd` | Only for guests that never sign in: with these off, the guest cannot sign in to an Apple Account |
@@@ -79,16 -79,6 +79,16 @@@ on an iPhone Duo 27.1 guest; allowing t
control. It is now in `neverDisable`, so `trimmed` no longer selects it and a
guest that applies the profile again turns it back on.
- **passd and financed stay (list version 2, 2026-10-24).** Wallet's first
++**passd and financed stay (list version 3, 2026-10-24).** Wallet's first
+screen asks passd synchronously for its pass groups
+(`-[PKPassLibrary _getGroupsControllerSnapshotWithOptions:synchronously:retries:handler:]`),
+and passd waits on financed's Core Data store
+(`com.apple.financed.service.coredatastore`). With passd disabled, Wallet's
+`NSXPCStore` retried until FrontBoard's 20-second scene-create watchdog
+killed it; with passd running but financed disabled, the synchronous call never
+returned and the same watchdog fired. With both running Wallet opens; passd
+keeps retrying nfcd, which stays disabled, at about 0.02 CPU-seconds a minute.
+
Some of these are only optional: Shortcuts, dictation, HomeKit, Maps,
Mail, Reminders, iMessage and Safari bookmark sync. A research target that
uses one of those frameworks needs its daemon back. Pass that label in `allow`
diff --cc VPhoneDaemon/Daemon/GuestServiceProfile.swift
index 5f0ca556,638a3d28..c37152f5
--- a/VPhoneDaemon/Daemon/GuestServiceProfile.swift
+++ b/VPhoneDaemon/Daemon/GuestServiceProfile.swift
@@@ -21,7 -21,7 +21,7 @@@ import Foundatio
enum GuestServiceProfile {
/// Raised whenever a label list changes, and kept in the record, so a
/// guest shows which list its overrides came from.
-- static let listVersion = 2
++ static let listVersion = 3
static let recordPath = "/var/db/vphoned/service-profile.plist"
static let trimmed = "trimmed"
static let none = "none"
@@@ -82,8 -82,7 +82,8 @@@
/// Appendix A of the 2026-10-07 measurement on `svctest-a` (iPhone, 27.0
/// 24A435): the LaunchDaemons that were loaded at boot and stayed unloaded
/// after the override, with the four traps below already taken out: 137,
- /// less siriactionsd, passd and financed since list version 2 (see
- /// `neverDisable`).
- /// less siriactionsd since list version 2 (see `neverDisable`).
++ /// less siriactionsd since list version 2 and passd and financed since
++ /// list version 3 (see `neverDisable`).
static let base27: [String] = [
"com.apple.CallHistorySyncHelper",
"com.apple.Maps.mapspushd",