From a61c7591bdf8ec0e7ab7c5f495e8d597dfa72cb8 Mon Sep 17 00:00:00 2001 From: Fabian-Lars <30730186+FabianLars@users.noreply.github.com> Date: Fri, 1 May 2026 14:36:03 +0200 Subject: [PATCH] apple --- plugins/secure-storage/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/secure-storage/src/lib.rs b/plugins/secure-storage/src/lib.rs index 50724a085..d8460ad75 100644 --- a/plugins/secure-storage/src/lib.rs +++ b/plugins/secure-storage/src/lib.rs @@ -40,11 +40,11 @@ pub fn init() -> TauriPlugin { set_default_store(android_native_keyring_store::AndroidStore::from_ndk_context()?); // TODO: (maybe) config to change used keychain. - #[cfg(all(target_os = "android", feature = "apple-keychain"))] + #[cfg(all(target_vendor = "apple", feature = "apple-keychain"))] set_default_store(apple_native_keyring_store::keychain::Store::new()?); // TODO: config. most notably icloud sync and biometrics - #[cfg(all(target_os = "android", feature = "apple-protected"))] + #[cfg(all(target_vendor = "apple", feature = "apple-protected"))] set_default_store(apple_native_keyring_store::protected::Store::new()?); #[cfg(windows)]