stealth: deep-walk plist + dump shape on missing keys#10
Merged
Conversation
m5a told us path B fails with fileFormatChanged but not which key was missing or what was actually present. real-device probe on ios 15.8 returned exactly that opaque error. * FileSystemImporter recursive walk through nested dicts/arrays. apple reshuffles plist layout across ios majors, top-level lookup is too brittle. * expanded candidate key list per role (dsid/storefront/guid/email/...) * on miss, the error path now embeds the plist shape summary (key:type pairs, no values) and which fields are missing — pasteable back into a diagnostic without leaking secrets. * AccountsdBridge searches storefront across properties + accountProperties + userInfo + options + direct KVC + credential.properties — stale ios 15 KVC paths only put it on credential.properties, which we missed. * KeychainImporter splits errSecMissingEntitlement (-34018) from generic status=0+empty-array (no items), so "entitlementDenied" actually means what it says.
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.
what
real-device m5a probe on iOS 15.8 returned:
— DSID was found but no storefront in any KVC parent we tried
— file opened, parsed, but our top-level key candidates didn't match
m5b makes the next probe actually informative.
changes
match across an expanded candidate list per role
empty match set so error labels are accurate
test
error containing the actual plist shape