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 deleted file mode 100644 index 95e4deaea7f..00000000000 --- a/.github/workflows/ios.verify.sdk.yml +++ /dev/null @@ -1,44 +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: 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 | grep -E "DTSDKName" - plutil -p build/StandardNotes.xcarchive/Info.plist | grep -E "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'