Repository navigation
Start Apple's account daemon (akd) with the apps service set - #42
Merged
Developing-Gamer merged 1 commit intoNov 27, 2026
Merged
Conversation
Sign in with Apple failed at once with ASAuthorizationError 1000; the app's log had "com.apple.ak.authorizationservices.xpc was invalidated: Connection init failed at lookup with error 3 - No such process". That service belongs to akd, Apple's account daemon, which starts only when asked for and is in neither x86Sim's service lists nor agent-sim's. With com.apple.akd in the apps set, Continue with Apple shows Apple's "Sign in to your Apple Account" alert on a phone without an account, as iOS does, and akd starts then (45 MB). At rest it does not run: two cold boots with bench/run on the same VM, without and with it, gave home screen 24.5 s / 22.0 s and the same idle CPU. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Owner
|
Merged. The phone boots with |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Sign in with Apple failed at once with
ASAuthorizationError1000 (unknown). The app's log had:That service belongs to akd, Apple's account daemon (
com.apple.akd). It starts only when asked for, and it is in neither x86Sim's service lists (boot-a64.shon current main) nor agent-sim's, so the lookup finds nothing. x86Sim's lists do carryAuthenticationServicesAgent, which the request reaches first.Change
com.apple.akdjoins theappsservice set inscripts/phone.sh(the default). KNOWN_ISSUES.md and CHANGELOG.md say so.Verification
iOS 27.2 (iPhone18,1), x86Sim 0.5.2, Ubuntu 24.04 KVM guest (8 vCPU, Ryzen 5 7600X):
ASAuthorizationAppleIDProvider) brings up Apple's own alert, "Sign in to your Apple Account / You need to sign in to your Apple Account in Settings", as iOS does on a phone without an account. akd starts then (45 MB resident) and was not running before.bench/run --runs 3, without akd (AGENT_SIM_EXTRA_JOBS= the default list minus akd; checked in the unit's command line) and with it:The differences are run-to-run noise: at rest akd is not running.
Not checked: signing in to an Apple Account in Settings itself (it needs a real Apple ID).
Side note from the run:
bench/runwarnsnot in the phone's environment: AGENT_SIM_EXTRA_JOBS, because phone.sh puts that variable on the boot command line rather than in the unit's environment; the jobs did apply.🤖 Generated with Claude Code