Skip to content

Runtime does not build with latest Xcode due to deprecated functions #77907

Closed
@vcsjones

Description

@vcsjones

Using the latest Xcode toolchain (14B47b) there are many deprecation errors around keychains such as

/Users/vcsjones/Projects/runtime/src/native/libs/System.Security.Cryptography.Native.Apple/pal_keychain_macos.c:84:12: error: 'SecKeychainSetSettings' is deprecated: first deprecated in macOS 10.10 - SecKeychain is deprecated [-Werror,-Wdeprecated-declarations]
    return SecKeychainSetSettings(keychain, &settings);

We probably need to add several #pragma clang diagnostic ignored "-Wdeprecated-declarations" around the deprecated functions for now.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions