diff --git a/build/config/mac/mac_sdk.gni b/build/config/mac/mac_sdk.gni index ae8cd000fe5..a89a1766ddf 100644 --- a/build/config/mac/mac_sdk.gni +++ b/build/config/mac/mac_sdk.gni @@ -6,7 +6,7 @@ import("//build/toolchain/goma.gni") declare_args() { # Minimum supported version of the Mac SDK. - mac_sdk_min = "10.13" + mac_sdk_min = "10.14" # Path to a specific version of the Mac SDK, not including a backslash at # the end. If empty, the path to the lowest version greater than or equal to diff --git a/runtime/bin/security_context_macos.cc b/runtime/bin/security_context_macos.cc index 5b406a8ef04..8612cc39c00 100644 --- a/runtime/bin/security_context_macos.cc +++ b/runtime/bin/security_context_macos.cc @@ -313,7 +313,10 @@ static void TrustEvaluateHandler(Dart_Port dest_port_id, status = SecTrustGetTrustResult(trust.get(), &trust_result); } else { // SecTrustEvaluate is deprecated as of OSX 10.15 and iOS 13. +#pragma clang diagnostic push +#pragma clang diagnostic ignored "-Wdeprecated" status = SecTrustEvaluate(trust.get(), &trust_result); +#pragma clang diagnostic pop } postReply(reply_port_id,