Description
Unfortunately my team still needs to support iOS 15, so we've been stuck on TCA 1.23 for months.
It was fine until Xcode 27 beta 1. I was hoping that it could be an Xcode regression but we're at beta 3 now and the error persists.
I checked on my machine and cherry-picking #3931 fixes the compilation error. Could that be backported to 1.23?
Checklist
Expected behavior
Being able to compile a version of the project that supports iOS 15 using Xcode 27.
Actual behavior
The compiler fails with this error:
Sources/ComposableArchitecture/Observation/NavigationStack+Observation.swift:167:17 Cannot form key path to main actor-isolated subscript 'subscript(fileID:filePath:line:column:)'
Reproducing project
No extra project necessary, simply try to compile TCA tag 1.23.2 on Xcode 27.
The Composable Architecture version information
1.23.2
Destination operating system
iOS 15
Xcode version information
Version 27.0 beta 3 (27A5218g)
Swift Compiler version information
swift-driver version: 1.168.4 Apple Swift version 6.4 (swiftlang-6.4.0.25.4 clang-2100.3.25.1)
Target: arm64-apple-macosx26.0
Description
Unfortunately my team still needs to support iOS 15, so we've been stuck on TCA 1.23 for months.
It was fine until Xcode 27 beta 1. I was hoping that it could be an Xcode regression but we're at beta 3 now and the error persists.
I checked on my machine and cherry-picking #3931 fixes the compilation error. Could that be backported to 1.23?
Checklist
mainbranch of this package.Expected behavior
Being able to compile a version of the project that supports iOS 15 using Xcode 27.
Actual behavior
The compiler fails with this error:
Reproducing project
No extra project necessary, simply try to compile TCA tag 1.23.2 on Xcode 27.
The Composable Architecture version information
1.23.2
Destination operating system
iOS 15
Xcode version information
Version 27.0 beta 3 (27A5218g)
Swift Compiler version information