Same issue. It's working fine in XCode Preview. (17.2)
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: