fix: iOS 26 UDID fallback — use cached pairing file UDID when C library fails#12
Open
chenbusi123 wants to merge 1 commit into
Open
fix: iOS 26 UDID fallback — use cached pairing file UDID when C library fails#12chenbusi123 wants to merge 1 commit into
chenbusi123 wants to merge 1 commit into
Conversation
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
On iOS 26 (26.3+), fetch_first_device() consistently fails because the bundled C library (rusty_libimobiledevice, last updated Sept 2023) cannot communicate with iOS 26 lockdownd over the VPN tunnel. This causes SideStore to report:
"could not determine this device UDID. Please replace your pairing using iloader."
This blocks Apple ID sign-in, app refresh, and all sideloading operations.
Related SideStore issues: #1305, #1312, #1316, #1320, #1322, #1324
Root Cause
The rusty_libimobiledevice C bindings (from 2023) implement an outdated lockdown protocol. Upstream libimobiledevice has since added critical changes:
Fix
This PR adds a pairing-file-based UDID cache as fallback:
Minimal safe change: only activates when C library fails. Uses existing once_cell dependency.
Related
Companion branch for tracking upstream libimobiledevice changes: https://github.com/chenbusi123/rusty_libimobiledevice/tree/ios26-fix