Fix Xcode 27 actor isolation build error - #4
Conversation
|
Thanks for the report and the patch. I can't reproduce this with the current stable toolchain: with Xcode 26.6 in Swift 6 language mode, the package builds cleanly for macOS, iOS, tvOS, and watchOS, and the iOS 26.5 SDK explicitly annotates Since beta SDK annotations are still in flux, I'd rather not work around a diagnostic that may not survive to release. Let's revisit this when Xcode 27 reaches RC: if the error is still present at that point, I'm happy to fix it — though the change will need to be redone on top of current In the meantime, sharing the exact Xcode 27 beta version and the full compiler output would help confirm the diagnosis. |
Summary
Problem
Xcode 27 Beta fails to compile
iCloudKVKey.swiftin Swift 6 mode with:The failure occurs while initializing
willEnterForegroundNotificationName.Validation
swift buildsucceeds with Xcode 27 Beta andswift-sharing2.9.1