fix(macos): suppress file selector deprecation warning

This commit is contained in:
Haitao Pan 2026-06-27 11:48:51 +08:00
parent 1cce388da7
commit f35274ffd0
2 changed files with 8 additions and 5 deletions

View File

@ -202,12 +202,11 @@ packages:
source: hosted
version: "0.9.4"
file_selector_macos:
dependency: transitive
dependency: "direct overridden"
description:
name: file_selector_macos
sha256: "5e0bbe9c312416f1787a68259ea1505b52f258c587f12920422671807c4d618a"
url: "https://pub.dev"
source: hosted
path: "third_party/file_selector_macos"
relative: true
source: path
version: "0.9.5"
file_selector_platform_interface:
dependency: transitive

View File

@ -44,6 +44,10 @@ dependency_overrides:
# a matching dSYM for App Store symbol upload.
objective_c:
path: third_party/objective_c
# Patch the macOS file selector plugin to avoid a deprecated API warning
# on current macOS toolchains while preserving older-OS behavior.
file_selector_macos:
path: third_party/file_selector_macos
# Use a local patch so Cargokit can recover from transient GitHub asset
# download failures during macOS packaging.
super_native_extensions: