From 2fe452feff9ec1ef8ece727b7e7caea4771af68e Mon Sep 17 00:00:00 2001 From: Antonella Sgarlatta Date: Tue, 7 Apr 2026 12:37:02 -0300 Subject: [PATCH] chore: upgrade ios sdk version in workflows [skip ci] --- .github/workflows/ios.testflight.yml | 6 ++- .github/workflows/ios.verify.sdk.yml | 51 ----------------------- .github/workflows/mobile.release.prod.yml | 6 ++- packages/mobile/fastlane/Fastfile | 2 +- 4 files changed, 11 insertions(+), 54 deletions(-) delete mode 100644 .github/workflows/ios.verify.sdk.yml diff --git a/.github/workflows/ios.testflight.yml b/.github/workflows/ios.testflight.yml index 0d1ed5a03..b8fac04b6 100644 --- a/.github/workflows/ios.testflight.yml +++ b/.github/workflows/ios.testflight.yml @@ -7,11 +7,15 @@ jobs: defaults: run: working-directory: packages/mobile - runs-on: macos-latest + runs-on: macos-15 timeout-minutes: 90 steps: - name: Checkout code uses: actions/checkout@v3 + - name: Select Xcode 26 + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: "26.0" - name: Export version from package.json run: echo "PACKAGE_VERSION=$(grep '"version"' ../web/package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV diff --git a/.github/workflows/ios.verify.sdk.yml b/.github/workflows/ios.verify.sdk.yml deleted file mode 100644 index e177e4620..000000000 --- a/.github/workflows/ios.verify.sdk.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: iOS SDK Verify - -on: workflow_dispatch - -jobs: - verify-ios-sdk: - defaults: - run: - working-directory: packages/mobile - runs-on: macos-15 - timeout-minutes: 90 - steps: - - name: Checkout code - uses: actions/checkout@v3 - - - name: Select Xcode 26 - uses: maxim-lobanov/setup-xcode@v1 - with: - xcode-version: "26.0" - - - name: Verify Xcode and available iOS SDKs - run: | - xcodebuild -version - xcodebuild -showsdks | grep -E "iphoneos" - - - name: Install dependencies - run: yarn install --immutable && yarn install:pods - - - name: Build mobile workspace dependencies - working-directory: ${{ github.workspace }} - run: yarn build:mobile - - - name: Archive app without signing or upload - run: | - xcodebuild \ - -workspace ios/StandardNotes.xcworkspace \ - -scheme StandardNotes \ - -configuration Release \ - -destination "generic/platform=iOS" \ - -archivePath build/StandardNotes.xcarchive \ - CODE_SIGNING_ALLOWED=NO \ - CODE_SIGNING_REQUIRED=NO \ - archive - - - name: Print archive SDK metadata (no assertion) - run: | - set -euo pipefail - INFO="build/StandardNotes.xcarchive/Info.plist" - test -f "$INFO" || { echo "::error::Missing $INFO"; exit 1; } - echo "--- archive Info.plist (look for DTSDKName / iphoneos in ApplicationProperties) ---" - plutil -p "$INFO" diff --git a/.github/workflows/mobile.release.prod.yml b/.github/workflows/mobile.release.prod.yml index 4b166a5fa..eb662a7c2 100644 --- a/.github/workflows/mobile.release.prod.yml +++ b/.github/workflows/mobile.release.prod.yml @@ -74,11 +74,15 @@ jobs: defaults: run: working-directory: packages/mobile - runs-on: macos-14 + runs-on: macos-15 timeout-minutes: 90 steps: - name: Checkout code uses: actions/checkout@v3 + - name: Select Xcode 26 + uses: maxim-lobanov/setup-xcode@v1 + with: + xcode-version: "26.0" - name: Export version from package.json run: echo "PACKAGE_VERSION=$(grep '"version"' ../web/package.json | cut -d '"' -f 4 | cut -d "-" -f 1)" >> $GITHUB_ENV diff --git a/packages/mobile/fastlane/Fastfile b/packages/mobile/fastlane/Fastfile index 0b812f2e1..97f99aee9 100755 --- a/packages/mobile/fastlane/Fastfile +++ b/packages/mobile/fastlane/Fastfile @@ -15,7 +15,7 @@ platform :ios do end def build_ios(scheme) - xcversion(version: "16.1") + xcversion(version: "26.0") increment_version_number( version_number: ENV['PACKAGE_VERSION'], xcodeproj: 'ios/StandardNotes.xcodeproj'