Thanks @szymczyk,
i had the exact same Problem (Fatal Error: UIViewControllerRepresentables must be value types:_).
The problem was, that I was subclassing UIViewControllerRepresentable as a class instead of a struct.
I'm not quit sure why this worked until updating to iOS16 but using struct does fix it.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: