From 9780081a8a8b5f8164b34384555376be2f18469d Mon Sep 17 00:00:00 2001 From: Brian Quinlan Date: Thu, 25 Apr 2024 14:39:43 -0700 Subject: [PATCH] Make the cupertino_http workflow work after 'macos-latest' upgrade (#1182) --- .github/workflows/cupertino.yml | 5 +++-- pkgs/cupertino_http/CHANGELOG.md | 2 ++ pkgs/cupertino_http/ios/cupertino_http.podspec | 2 +- pkgs/cupertino_http/macos/cupertino_http.podspec | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cupertino.yml b/.github/workflows/cupertino.yml index 23041fbb36..21fb23bb44 100644 --- a/.github/workflows/cupertino.yml +++ b/.github/workflows/cupertino.yml @@ -49,9 +49,10 @@ jobs: if: always() && steps.install.outcome == 'success' - uses: futureware-tech/simulator-action@bfa03d93ec9de6dacb0c5553bbf8da8afc6c2ee9 with: - model: 'iPhone 8' + os: iOS + os_version: '>=12.0' - name: Run tests run: | cd example flutter pub get - flutter test --timeout=1200s integration_test/main.dart + flutter test integration_test/main.dart diff --git a/pkgs/cupertino_http/CHANGELOG.md b/pkgs/cupertino_http/CHANGELOG.md index b1872bdd03..16aa082e57 100644 --- a/pkgs/cupertino_http/CHANGELOG.md +++ b/pkgs/cupertino_http/CHANGELOG.md @@ -1,6 +1,8 @@ ## 1.4.1-wip * Upgrade to `package:ffigen` 11.0.0. +* Update minimum supported iOS/macOS versions to be in sync with the minimum + (best effort) supported for Flutter: iOS 12, macOS 10.14 ## 1.4.0 diff --git a/pkgs/cupertino_http/ios/cupertino_http.podspec b/pkgs/cupertino_http/ios/cupertino_http.podspec index 4b2639f4cc..4e2ce46f08 100644 --- a/pkgs/cupertino_http/ios/cupertino_http.podspec +++ b/pkgs/cupertino_http/ios/cupertino_http.podspec @@ -20,7 +20,7 @@ Pod::Spec.new do |s| s.source = { :path => '.' } s.source_files = 'Classes/**/*' s.dependency 'Flutter' - s.platform = :ios, '9.0' + s.platform = :ios, '12.0' s.requires_arc = [] # Flutter.framework does not contain a i386 slice. diff --git a/pkgs/cupertino_http/macos/cupertino_http.podspec b/pkgs/cupertino_http/macos/cupertino_http.podspec index 1ed634045d..86b7201978 100644 --- a/pkgs/cupertino_http/macos/cupertino_http.podspec +++ b/pkgs/cupertino_http/macos/cupertino_http.podspec @@ -22,7 +22,7 @@ Pod::Spec.new do |s| s.dependency 'FlutterMacOS' s.requires_arc = [] - s.platform = :osx, '10.11' + s.platform = :osx, '10.14' s.pod_target_xcconfig = { 'DEFINES_MODULE' => 'YES' } s.swift_version = '5.0' end