gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.25k stars 268 forks source link

"UIViewRepresentables must be value types: MarkdownUI" Exception in iOS 16 beta #108

Closed Terabyte1385 closed 1 year ago

Terabyte1385 commented 2 years ago

To make it clear, in the stable iOS 15.5 release, this issue does not occur. App built using Xcode 14 beta.

At the @main line in My_Awesome_AppApp.swift, an exception is thrown, saying UIViewRepresentables must be value types: MarkdownUI. I don't even know what that's supposed to mean, can anyone help?

Screenshot 2022-06-20 at 15 49 31

Here's a demo project to demonstrate the problem: TestAppDemo.zip

gonzalezreal commented 2 years ago

Hi @Terabyte1385, Thanks for reporting this. I will look into it before the official iOS 16 is released.

gonzalezreal commented 1 year ago

Hi @Terabyte1385, The demo project you have provided is not using this library (MarkdownUI). Instead, it is using https://github.com/keitaoouchi/MarkdownView.

In any case, I ran the sample project from this library, MarkdownUIDemo on Xcode 14.0 Beta 3 and I couldn't reproduce the issue you mention.

Terabyte1385 commented 1 year ago

Oh my days, I'm truly sorry, I haven't realised that. Thanks for investigating anyway!