Adopt iOS 26 LayoutRegion API#2555
Merged
Merged
Conversation
Vladimir Mazunin (mazunin-v-jb)
approved these changes
Nov 6, 2025
Vladimir Mazunin (mazunin-v-jb)
approved these changes
Mar 2, 2026
Andrei Salavei (ASalavei)
approved these changes
Mar 3, 2026
29637d5 to
82ec0b0
Compare
Mystery0 M (Mystery00)
added a commit
to Mystery00/XhuTimetable
that referenced
this pull request
Jun 1, 2026
构建 iOS APP step 之前显式 sudo xcode-select 到 /Applications/Xcode_26.2.app。 macos-15-arm64 runner 默认仍是 Xcode 16.4 (iPhoneOS18.5.sdk)。Compose Multiplatform 1.11.0 通过 PR JetBrains/compose-multiplatform-core#2555 引入 CMPLayoutRegion,强引用 iOS 26 新增的 UIKit 类 UIViewLayoutRegion, 该类在 iPhoneOS18.5.sdk 中不存在,archive 链接时报: Undefined symbols for architecture arm64: "_OBJC_CLASS_$_UIViewLayoutRegion", referenced from: in ComposeApp[20](CMPLayoutRegion.o) 伴随的 swift_DarwinFoundation1/2/3 not found、SwiftUICore "not an allowed client" 都是同一 SDK 版本不匹配的衍生症状。 修复用单变量原则:仅切 toolchain,不动代码不动依赖;用具名版本 Xcode_26.2.app 而非 latest,未来 runner 升级也不会突然换 SDK。本地验证 环境(archive 通过)也是 Xcode 26.2 + iPhoneOS26.2.sdk,与 CI 完全对齐。 IPHONEOS_DEPLOYMENT_TARGET=14.0 不变,运行时设备覆盖范围不变。 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Adopts new iOS 26
LayoutRegionAPI for safe area insets, layout margins, readable content guide.Fixes CMP-8922 Back button on Navigation hides behind "traffic light" buttons on iPad
Testing
This should be tested by QA
Release Notes
Fixes - iOS
LayoutRegionAPI.