Skip to content

Commit fd69a95

Browse files
ci: fix tests by using correct iOS version (#431)
1 parent 8401e2a commit fd69a95

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
FIREBASE_TOKEN: ${{ env.FIREBASE_TOKEN }}
5353

5454
test_macos:
55-
runs-on: macos-latest
55+
runs-on: macos-15
5656
timeout-minutes: 25
5757
environment: CI Environment
5858
env:
@@ -88,7 +88,7 @@ jobs:
8888
sudo npm i -g firebase-tools
8989
- name: Select Xcode version
9090
run: |
91-
sudo xcode-select -switch /Applications/Xcode_16.2.app/Contents/Developer
91+
sudo xcode-select -switch /Applications/Xcode_16.4.app/Contents/Developer
9292
- name: Install FlutterFire
9393
run: |
9494
dart pub global activate --source="path" . --executable="flutterfire" --overwrite

packages/flutterfire_cli/test/configure_test.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,8 @@ void main() {
533533
fail(result2.stderr as String);
534534
}
535535

536-
const iosVersion = '13.0';
536+
// Current Firebase iOS packages used by this test require iOS 15.0+.
537+
const iosVersion = '15.0';
537538
// Update project.pbxproj
538539
final pbxprojResult = Process.runSync(
539540
'sed',
@@ -1572,7 +1573,8 @@ void main() {
15721573
reason: 'Required FlutterFire scripts not found in project.pbxproj',
15731574
);
15741575

1575-
const iosVersion = '13.0';
1576+
// Current Firebase iOS packages used by this test require iOS 15.0+.
1577+
const iosVersion = '15.0';
15761578
// Update project.pbxproj
15771579
final pbxprojResult = Process.runSync(
15781580
'sed',

0 commit comments

Comments
 (0)