From 4e2103016f7256db9fc014206e6efd14b0f7c935 Mon Sep 17 00:00:00 2001 From: Matt Nitzken Date: Fri, 9 Oct 2026 13:42:09 -0400 Subject: [PATCH 1/2] Enable xl widgets --- MemoryEchoWidget/OverviewWidget.swift | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/MemoryEchoWidget/OverviewWidget.swift b/MemoryEchoWidget/OverviewWidget.swift index 90eba3b..b125de3 100644 --- a/MemoryEchoWidget/OverviewWidget.swift +++ b/MemoryEchoWidget/OverviewWidget.swift @@ -134,6 +134,17 @@ struct OverviewWidget: Widget { } .configurationDisplayName("Overview") .description("Memories and echoes together, like the app at a glance.") - .supportedFamilies([.systemExtraLarge]) + .supportedFamilies(families) + } + + /// `.systemExtraLarge` is the landscape iPad size, which an iPhone never + /// offers; the portrait variant is the extra-large size iPhone gained in + /// iOS 27. + private var families: [WidgetFamily] { + if #available(iOS 27.0, *) { + [.systemExtraLarge, .systemExtraLargePortrait] + } else { + [.systemExtraLarge] + } } } From 4bc2ce03dd7ee70d0bb68a07d4dd3f62ca804e78 Mon Sep 17 00:00:00 2001 From: Matt Nitzken Date: Fri, 9 Oct 2026 13:49:03 -0400 Subject: [PATCH 2/2] Fix tests --- .github/workflows/codeql.yml | 6 +++--- .github/workflows/test.yml | 12 +++++++----- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 2b9cb95..7505183 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -30,9 +30,9 @@ jobs: name: Analyze Swift # Too slow for a PR check; see the note at the top. if: github.event_name != 'pull_request' - # Matches the runner in test.yml: MemoryEcho targets the iOS 26 SDK, which - # needs Xcode 26. Keep these two in step. - runs-on: macos-26 + # Matches the runner in test.yml: MemoryEcho builds against the iOS 27 SDK, + # which needs Xcode 27. Keep these two in step. + runs-on: xcode-27 timeout-minutes: 60 permissions: # Uploading results to the Security tab needs write here; everything diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b553632..5bb5f25 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,9 +22,11 @@ jobs: # Fast, reliable gate: the Swift Testing unit suite must pass. unit: name: Unit tests - # MemoryEcho targets the iOS 26 SDK, which needs Xcode 26 (macOS 26). - # Adjust this label if the runner image isn't available yet. - runs-on: macos-26 + # MemoryEcho builds against the iOS 27 SDK (the widget uses + # `.systemExtraLargePortrait`, which the iOS 26 SDK marks unavailable), so + # it needs Xcode 27. `xcode-27` is the only hosted image that carries it; + # macos-26 tops out at Xcode 26. + runs-on: xcode-27 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 @@ -33,7 +35,7 @@ jobs: with: xcode-version: latest-stable - # The macos-26 runner image intermittently ships Xcode without the + # The macOS runner images intermittently ship Xcode without the # matching iOS Simulator runtime pre-installed (see # https://github.com/actions/runner-images/issues/13220), which makes # xcodebuild report zero concrete simulator destinations. Fetch the @@ -55,7 +57,7 @@ jobs: ui: name: UI tests if: github.event_name == 'push' && github.ref == 'refs/heads/main' - runs-on: macos-26 + runs-on: xcode-27 steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1