Vision OS Metal build + swift UI

Hi everyone, we’re trying to implement a Unity vision OS metal project as a library for a swift UI Xcode project. We followed the unity as a library tutorial and we managed to make the unity framework initialize and we can see the log in Xcode but we can’t see the rendered application in the vision pro, only the swift UI window.
Has anyone managed to render a metal XR application into swift UI?
Thank you