Skip to content

Build iOS and Mac Catalyst with Xcode 27.0, and adopt the iOS scene life cycle - #1743

Merged
SpikeViper merged 4 commits into
mainfrom
fix/xcode-27-runners
Nov 6, 2026
Merged

SpikeViper merged 4 commits into
mainfrom
fix/xcode-27-runners

Conversation

@SpikeViper

@SpikeViper SpikeViper commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

The .NET 11 RC3 SDK installs the 27.0 iOS and Mac Catalyst workloads (27.0.12212-net11-rc.2). They refuse to build with Xcode 26.6, the newest Xcode on macos-26 runners, which failed the macOS build after #1741. Both workflows now run on the xcode-27 image (a GitHub preview) and select Xcode 27.0 by path, because that image's default is 27.1 and the workload requires 27.0.

Building with the iOS 27 SDK also requires the UIKit scene life cycle. Without it, iOS refuses to start the app ("UIScene life cycle is required for apps built with this SDK"). The iOS app now has a scene manifest and a SceneDelegate, as the Mac Catalyst app already did, and AppLifecycle is driven by the app-wide become-active and enter-background notifications, because UIKit no longer calls the app delegate for those.

Testing:

The .NET 11 RC3 SDK installs the 27.0 iOS and Mac Catalyst workloads, which
refuse to build with the Xcode 26.6 on macos-26 runners. Use the xcode-27
runner image and select its Xcode 27.0.
@SpikeViper
SpikeViper requested a review from a team as a code owner November 5, 2026 19:50
Apps built with the iOS 27 SDK fail to launch without it ("UIScene life cycle
is required for apps built with this SDK"). Add a scene manifest and a
SceneDelegate like the Mac Catalyst app, and drive AppLifecycle from the
app-wide become-active and enter-background notifications, since UIKit no
longer calls the app delegate for those with scenes.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

Deploying valour-marketing with  Cloudflare Pages  Cloudflare Pages

Latest commit: 3b744d9
Status:⚡️  Build in progress...

View logs

The iPhone and iPad app now pick the layout from the window size (at least
680x500 points for the wide layout, roughly iOS regular size classes) instead
of the user agent, and switch live when the window crosses that line, such as
when an iPhone Duo opens or closes or an iPad enters Split View. Index saves
the dock layout, drops the shell for one render so the old dock is disposed,
and rebuilds it in the new layout. Other hosts keep the startup check.

The iOS shell also stays inside the left and right safe areas, which keeps it
clear of the iPhone Duo status bar rail and the camera housing in landscape.
Index now implements IDisposable so its event subscriptions are removed.
@SpikeViper SpikeViper changed the title Build iOS and Mac Catalyst with Xcode 27.0 Build iOS and Mac Catalyst with Xcode 27.0, and adopt the iOS scene life cycle Nov 6, 2026
Switch between phone and wide layouts by window size on iOS (iPhone Duo)
@SpikeViper
SpikeViper merged commit 579ed8b into main Nov 6, 2026
1 of 2 checks passed
@SpikeViper
SpikeViper deleted the fix/xcode-27-runners branch November 6, 2026 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant