mirror of
https://github.com/wu736139669/hapi.git
synced 2026-11-07 01:21:37 +00:00
ci(ios): build and test with Xcode 27
The iPhone Duo layout uses UIHingeInteraction, which only exists in the iOS 27.1 SDK. CI ran Xcode 16.4 (iOS 18.5 SDK) on macos-15, so the app build failed: #available is a runtime check and cannot hide a symbol the SDK lacks. ChatView's iOS 26/27 modifiers would have failed next. Both jobs now run on the xcode-27 runner image (Xcode 27.1 by default), the toolchain releases are built with. The READMEs state Xcode 27.1 as the minimum. Swift 6.4 also timed out type-checking a long `+` chain in MultipartEncoderTests, so `swift test` failed to build; the expected body is now joined from an array. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
e733dffe10
commit
4b7a1cff90
@@ -19,8 +19,9 @@ concurrency:
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
# Xcode 27.1+ is required: the app uses iOS 27.1 SDK APIs (e.g. UIHingeInteraction).
|
||||
package-tests:
|
||||
runs-on: macos-15
|
||||
runs-on: xcode-27
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Show toolchain versions
|
||||
@@ -31,7 +32,7 @@ jobs:
|
||||
run: swift test --package-path ios/Packages/HapiKit
|
||||
|
||||
app-build:
|
||||
runs-on: macos-15
|
||||
runs-on: xcode-27
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Show toolchain versions
|
||||
|
||||
Reference in New Issue
Block a user