From 2d4656ba65efe8cb0ba1df01328c9d2874765fbf Mon Sep 17 00:00:00 2001 From: Antonella Sgarlatta Date: Tue, 17 Mar 2026 13:07:21 -0300 Subject: [PATCH 1/2] chore: upgrade xc version for ios build --- .github/workflows/ios.testflight.yml | 6 +++- .github/workflows/ios.verify.sdk.yml | 44 +++++++++++++++++++++++ .github/workflows/mobile.release.prod.yml | 6 +++- packages/mobile/fastlane/Fastfile | 2 +- 4 files changed, 55 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/ios.verify.sdk.yml diff --git a/.github/workflows/ios.testflight.yml b/.github/workflows/ios.testflight.yml index 0d1ed5a03a5..b79d20e523d 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 new file mode 100644 index 00000000000..6f65d7a3c68 --- /dev/null +++ b/.github/workflows/ios.verify.sdk.yml @@ -0,0 +1,44 @@ +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 | rg iphoneos + + - name: Install dependencies + run: yarn install --immutable && yarn install:pods + + - 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: Validate archive SDK metadata + run: | + plutil -p build/StandardNotes.xcarchive/Info.plist | rg DTSDKName + plutil -p build/StandardNotes.xcarchive/Info.plist | rg "iphoneos26\\." diff --git a/.github/workflows/mobile.release.prod.yml b/.github/workflows/mobile.release.prod.yml index 4b166a5faae..9722feea114 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 0b812f2e122..97f99aee908 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' From e984243b7b9c28b6ba0916a292dd7dc6bfba3b62 Mon Sep 17 00:00:00 2001 From: Antonella Sgarlatta Date: Fri, 20 Mar 2026 14:56:21 -0300 Subject: [PATCH 2/2] chore: add missing workflow step --- .github/workflows/ios.verify.sdk.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/ios.verify.sdk.yml b/.github/workflows/ios.verify.sdk.yml index 95e4deaea7f..15f8ae15392 100644 --- a/.github/workflows/ios.verify.sdk.yml +++ b/.github/workflows/ios.verify.sdk.yml @@ -26,6 +26,9 @@ jobs: - name: Install dependencies run: yarn install --immutable && yarn install:pods + - name: Build mobile workspace dependencies + run: yarn build:mobile + - name: Archive app without signing or upload run: | xcodebuild \