Skip to content

Cannot find SecItemCopyMatching in the scope #235

@cvengler

Description

@cvengler

I have a very large Rust project that has this crate in its supply chain.
When fiddling around with some crates, this crate breaks with the following failure:

error[E0425]: cannot find function, tuple struct or tuple variant `SecItemCopyMatching` in this scope
   --> /Users/cve/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/security-framework-2.0.0/src/item.rs:186:17
    |
186 |             cvt(SecItemCopyMatching(params.as_concrete_TypeRef(), &mut ret))?;
    |                 ^^^^^^^^^^^^^^^^^^^ not found in this scope
    |
help: consider importing this function
    |
3   + use security_framework_sys::keychain_item::SecItemCopyMatching;
    |

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions