From c7045744708ee8c69a13a016ad5ba70e1a9368c7 Mon Sep 17 00:00:00 2001 From: nab138 Date: Mon, 16 Feb 2026 20:46:17 -0500 Subject: [PATCH 1/2] Add ApplicationVerificationFailed to list of known errors --- idevice/src/lib.rs | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/idevice/src/lib.rs b/idevice/src/lib.rs index ba62ed0..abbe71a 100644 --- a/idevice/src/lib.rs +++ b/idevice/src/lib.rs @@ -869,6 +869,10 @@ pub enum IdeviceError { #[cfg(feature = "notification_proxy")] #[error("notification proxy died")] NotificationProxyDeath = -69, + + #[cfg(feature = "installation_proxy")] + #[error("Application verification failed: {0}")] + ApplicationVerificationFailed(String) = -70, } impl IdeviceError { @@ -912,6 +916,14 @@ impl IdeviceError { Some(Self::InternalError(detailed_error)) } } + "ApplicationVerificationFailed" => { + let msg = context + .get("ErrorDescription") + .and_then(|x| x.as_string()) + .unwrap_or("No context") + .to_string(); + Some(Self::ApplicationVerificationFailed(msg)) + } _ => None, } } @@ -1037,6 +1049,9 @@ impl IdeviceError { #[cfg(feature = "notification_proxy")] IdeviceError::NotificationProxyDeath => -69, + + #[cfg(feature = "installation_proxy")] + IdeviceError::ApplicationVerificationFailed(_) => -70, } } } From 31591624a80d5d2af3f2b2526d9be36e2ff0ee24 Mon Sep 17 00:00:00 2001 From: nab138 Date: Mon, 16 Feb 2026 20:47:52 -0500 Subject: [PATCH 2/2] Add missing cfg directive --- idevice/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/idevice/src/lib.rs b/idevice/src/lib.rs index abbe71a..856664b 100644 --- a/idevice/src/lib.rs +++ b/idevice/src/lib.rs @@ -916,6 +916,7 @@ impl IdeviceError { Some(Self::InternalError(detailed_error)) } } + #[cfg(feature = "installation_proxy")] "ApplicationVerificationFailed" => { let msg = context .get("ErrorDescription")