From 79b5b4fe8a1bf910b22bc6ec5159463adfb424e1 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Thu, 26 Jun 2025 10:21:00 -0700 Subject: [PATCH 1/3] [ci] Increase deprecation check minimum to iOS 17 --- .ci/targets/ios_platform_tests.yaml | 2 +- script/configs/exclude_xcode_deprecation.yaml | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.ci/targets/ios_platform_tests.yaml b/.ci/targets/ios_platform_tests.yaml index a2b01241e73..b5116d8f817 100644 --- a/.ci/targets/ios_platform_tests.yaml +++ b/.ci/targets/ios_platform_tests.yaml @@ -18,7 +18,7 @@ tasks: - name: xcode analyze deprecation # Ensure we don't accidentally introduce deprecated code. script: .ci/scripts/tool_runner.sh - args: ["xcode-analyze", "--ios", "--ios-min-version=14.0", "--exclude=script/configs/exclude_xcode_deprecation.yaml,script/configs/xcode_warnings_exceptions.yaml"] + args: ["xcode-analyze", "--ios", "--ios-min-version=17.0", "--exclude=script/configs/exclude_xcode_deprecation.yaml,script/configs/xcode_warnings_exceptions.yaml"] - name: native test script: .ci/scripts/tool_runner.sh # Simulator name and version must match name and version in create_simulator.sh diff --git a/script/configs/exclude_xcode_deprecation.yaml b/script/configs/exclude_xcode_deprecation.yaml index e69de29bb2d..658bf5633b5 100644 --- a/script/configs/exclude_xcode_deprecation.yaml +++ b/script/configs/exclude_xcode_deprecation.yaml @@ -0,0 +1,4 @@ +# TODO(jmagman): Remove deprecation exclusion when UIWindowScene.windows is adopted. https://github.com/flutter/flutter/issues/154365 +- integration_test +# TODO(jmagman): Remove deprecation exclusion when AVCaptureVideoOrientation is migrated. https://github.com/flutter/flutter/issues/170438 +- camera_avfoundation From e3cc22d0f6a1e88d905faa59c490ddf80bd2d956 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Thu, 26 Jun 2025 10:26:01 -0700 Subject: [PATCH 2/3] [ci] Increase deprecation check minimum to iOS 18 --- .ci/targets/ios_platform_tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/targets/ios_platform_tests.yaml b/.ci/targets/ios_platform_tests.yaml index b5116d8f817..6a358f1eb3f 100644 --- a/.ci/targets/ios_platform_tests.yaml +++ b/.ci/targets/ios_platform_tests.yaml @@ -18,7 +18,7 @@ tasks: - name: xcode analyze deprecation # Ensure we don't accidentally introduce deprecated code. script: .ci/scripts/tool_runner.sh - args: ["xcode-analyze", "--ios", "--ios-min-version=17.0", "--exclude=script/configs/exclude_xcode_deprecation.yaml,script/configs/xcode_warnings_exceptions.yaml"] + args: ["xcode-analyze", "--ios", "--ios-min-version=18.0", "--exclude=script/configs/exclude_xcode_deprecation.yaml,script/configs/xcode_warnings_exceptions.yaml"] - name: native test script: .ci/scripts/tool_runner.sh # Simulator name and version must match name and version in create_simulator.sh From fed547af95e190c7cd57964c3764c1add2dd1b04 Mon Sep 17 00:00:00 2001 From: Jenn Magder Date: Thu, 26 Jun 2025 11:11:15 -0700 Subject: [PATCH 3/3] Exclude in_app_purchase_storekit --- script/configs/exclude_xcode_deprecation.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/script/configs/exclude_xcode_deprecation.yaml b/script/configs/exclude_xcode_deprecation.yaml index 658bf5633b5..df950a601a2 100644 --- a/script/configs/exclude_xcode_deprecation.yaml +++ b/script/configs/exclude_xcode_deprecation.yaml @@ -1,4 +1,6 @@ -# TODO(jmagman): Remove deprecation exclusion when UIWindowScene.windows is adopted. https://github.com/flutter/flutter/issues/154365 +# TODO(jmagman): Remove when UIWindowScene.windows is adopted. https://github.com/flutter/flutter/issues/154365 - integration_test -# TODO(jmagman): Remove deprecation exclusion when AVCaptureVideoOrientation is migrated. https://github.com/flutter/flutter/issues/170438 +# TODO(jmagman): Remove when AVCaptureVideoOrientation is migrated. https://github.com/flutter/flutter/issues/170438 - camera_avfoundation +# TODO(jmagman): Remove when SKDownload is marked unavailable. https://github.com/flutter/flutter/issues/105490 +- in_app_purchase_storekit