I'm hopeful that the next Xcode 27 beta will include these changes and solve the problem.
https://github.com/swiftlang/swift-build/pull/1515
This similar thread provided the information
https://developer.apple.com/forums/thread/835097
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: