@@ -146,7 +146,7 @@ pub struct ItemSearchOptions {
146146 app_label : Option < CFData > ,
147147 #[ cfg( any( feature = "OSX_10_13" , target_os = "ios" , target_os = "tvos" , target_os = "watchos" , target_os = "visionos" ) ) ]
148148 authentication_context : Option < CFType > ,
149- #[ cfg( any( feature = "OSX_10_13 " , target_os = "ios" , target_os = "tvos" , target_os = "watchos" , target_os = "visionos" ) ) ]
149+ #[ cfg( any( feature = "OSX_10_12 " , target_os = "ios" , target_os = "tvos" , target_os = "watchos" , target_os = "visionos" ) ) ]
150150 skip_authenticated_items : bool ,
151151}
152152
@@ -313,7 +313,7 @@ impl ItemSearchOptions {
313313
314314 /// Whether to skip items in the search that require authentication (default false)
315315 #[ inline( always) ]
316- #[ cfg( any( feature = "OSX_10_13 " , target_os = "ios" , target_os = "tvos" , target_os = "watchos" , target_os = "visionos" ) ) ]
316+ #[ cfg( any( feature = "OSX_10_12 " , target_os = "ios" , target_os = "tvos" , target_os = "watchos" , target_os = "visionos" ) ) ]
317317 pub fn skip_authenticated_items ( & mut self , do_skip : bool ) -> & mut Self {
318318 self . skip_authenticated_items = do_skip;
319319 self
@@ -417,7 +417,7 @@ impl ItemSearchOptions {
417417 params. add ( & kSecUseAuthenticationContext. to_void ( ) , & authentication_context. to_void ( ) ) ;
418418 }
419419
420- #[ cfg( any( feature = "OSX_10_13 " , target_os = "ios" , target_os = "tvos" , target_os = "watchos" , target_os = "visionos" ) ) ]
420+ #[ cfg( any( feature = "OSX_10_12 " , target_os = "ios" , target_os = "tvos" , target_os = "watchos" , target_os = "visionos" ) ) ]
421421 if self . skip_authenticated_items {
422422 params. add ( & kSecUseAuthenticationUI. to_void ( ) , & kSecUseAuthenticationUISkip. to_void ( ) ) ;
423423 }
0 commit comments