Skip to content

Commit

Permalink
fix(.github/workflows): upgrade mac OS to 14
Browse files Browse the repository at this point in the history
Upgrade macOS from version 12 to version 14 to resolve the SDK version
issue.

The app was built with the iOS 16.2 (20C52) SDK. However, starting
April 29, 2024, apps must be built with the iOS 17 SDK or later,
included in Xcode 15 or later. The current macOS-latest is macOS 12,
which uses Xcode 14. We need to update to macOS 14, which uses Xcode
15.
  • Loading branch information
olgahaha committed Apr 3, 2024
1 parent 5ca67d7 commit a821133
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/firebase-release.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: firebase-release

on:
push:
tags:
- 'firebase-*'
on: pull_request

jobs:
distribute-android:
Expand Down Expand Up @@ -69,7 +66,7 @@ jobs:
firebase appdistribution:distribute ./android/app/build/outputs/bundle/release/app-release.aab --app ${APP_ID} --groups "${TEST_GROUPS}"
distribute-ios:
runs-on: macos-latest
runs-on: macos-14
timeout-minutes: 120

steps:
Expand All @@ -94,6 +91,7 @@ jobs:
NUMBERS_PQINA_NPM_KEY: ${{ secrets.NUMBERS_PQINA_NPM_KEY }}
PIPEDREAM_DELETE_CAPTURE_ACCOUNT: ${{ secrets.PIPEDREAM_DELETE_CAPTURE_ACCOUNT }}
run: |
pip install setuptools
npm run preconfig.npmrc
npm install -g @ionic/cli
npm install --legacy-peer-deps
Expand Down Expand Up @@ -126,7 +124,7 @@ jobs:
run: |
npx cap sync ios
sed -i '' "s/NumbersAppDistributionV6/${PROVISIONING_PROFILE}/g" ios/App/ExportOptions.plist
sed -i '' 's/app-store/ad-hoc/g' ios/App/ExportOptions.plist
sed -i '' 's/app-store/release-testing/g' ios/App/ExportOptions.plist
xcodebuild archive -workspace ios/App/App.xcworkspace -scheme App -sdk iphoneos -configuration Release -archivePath build/App.xcarchive -showBuildTimingSummary CURRENT_PROJECT_VERSION=${{ steps.current-time.outputs.formattedTime }} PROVISIONING_PROFILE_SPECIFIER=${PROVISIONING_PROFILE} -allowProvisioningUpdates
- name: Export IPA from Xcode Archive
Expand Down

0 comments on commit a821133

Please sign in to comment.