This post is from the WWDC26 watchOS Q&A.
Many Swift Packages, including those from Apple, like swift-collections, don't compile with Xcode 27. It shows these error messages:
error: The watchOS deployment target 'WATCHOS_DEPLOYMENT_TARGET' is set to 8.0, but the range of supported deployment target versions is 9.0 to 27.0.x. (in target 'DequeModule' from project 'swift-collections')
error: The armv7k architecture is deprecated. You should update your ARCHS build setting to remove the armv7k architecture. (in target 'DequeModule' from project 'swift-collections')
Is this an expected behavior? If so, how can we fix it? If not, when will this be fixed?
I don't think there's any way you can work around this. But it looks like it was just addressed here: https://github.com/swiftlang/swift-package-manager/pull/10188