Solution is mentioned here https://developer.apple.com/videos/play/wwdc2022/110370/?time=420
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: