In this way it's impossible to use inside mac apps. Xcode 13 does not include macOS 12 SDK. You may need to wait the next Xcode which contains macOS 12 SDK.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: