Repository navigation
Build iOS and Mac Catalyst with Xcode 27.0, and adopt the iOS scene life cycle - #1743
Merged
Merged
Conversation
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.
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.
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.
Switch between phone and wide layouts by window size on iOS (iPhone Duo)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 onmacos-26runners, which failed the macOS build after #1741. Both workflows now run on thexcode-27image (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, andAppLifecycleis driven by the app-wide become-active and enter-background notifications, because UIKit no longer calls the app delegate for those.Testing:
IOS_*secrets, and produced the IPA (https://github.com/Valour-Software/Valour/actions/runs/42095961529)