Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
Expand All @@ -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

Expand Down
13 changes: 12 additions & 1 deletion MemoryEchoWidget/OverviewWidget.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}
}
}
Loading