diff --git a/.github/workflows/app-distribute.yml b/.github/workflows/app-distribute.yml index 5f0d43b86..8743920ab 100644 --- a/.github/workflows/app-distribute.yml +++ b/.github/workflows/app-distribute.yml @@ -51,7 +51,7 @@ permissions: jobs: build_and_deploy_ios: name: Build and Distribute Dogfooding Ios - runs-on: macos-15 + runs-on: xcode-27 timeout-minutes: 60 if: ${{ github.event_name == 'push' || github.event_name == 'release' || inputs.build_ios == true }} steps: @@ -66,7 +66,7 @@ jobs: - name: Select Xcode uses: maxim-lobanov/setup-xcode@v1.7.0 with: - xcode-version: "26.3" + xcode-version: "latest" - name: Setup Flutter uses: subosito/flutter-action@v2 diff --git a/dogfooding/ios/Podfile b/dogfooding/ios/Podfile index ae577f1ac..aa8e20ad8 100644 --- a/dogfooding/ios/Podfile +++ b/dogfooding/ios/Podfile @@ -79,6 +79,12 @@ post_install do |installer| 'PERMISSION_NOTIFICATIONS=1', ] + # some pods still declare deployment targets below the platform minimum, + # which recent Xcode/simulator SDKs reject outright + deployment_target = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] + if deployment_target && Gem::Version.new(deployment_target) < Gem::Version.new('15.0') + config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '15.0' + end end end end