Im confused, is it only available in UIKit ?
Post
Replies
Boosts
Views
Activity
Hopefully this may help some of you. Im using Xcode 14.0
I had this same issue when building previews. I had added 2 swift packages via the built in spm in Xcode and was getting the error.
Removing them from the target -> Frameworks & Libraries solved the issue for me and the preview showed as expected and the product also built successfully.
Hi Robby, I can't see all your code, but from the error message I would check you satisfy the protocol, which means its expecting some methods and you may have some missing.
Right click on UIViewRepresentable -> Jump to definition
This should give you an idea of what is expected.
Same issue, can't use Beta version as on production track and too risky.
Come on Apple sort this out asap
Same issue here. I suspect its an issue with how the page has been developed/tested by Apple and nothing we have done wrong. Would be nice of them to fix it quickly