gonzalezreal / swift-markdown-ui

Display and customize Markdown text in SwiftUI
MIT License
2.26k stars 267 forks source link

Markdown appears in SwiftUI preview but not in simulator or on device #67

Closed antonjazz closed 2 years ago

antonjazz commented 2 years ago

This is a strange issue that started occurring to me recently. I made a test app to demonstrate it at https://github.com/antonjazz/MarkdownTest If you look at the MainView.swift file along with its SwiftUI Preview, you'll see the markdown renders fine. But in the Simulator it never appears at all. I'm using Xcode 12.5.1.

Any ideas?

jiangdi0924 commented 2 years ago

+1

jgb-ibsa commented 2 years ago

+1

erdincIceMobile commented 2 years ago

+1

gonzalezreal commented 2 years ago

Could this be related to #78?

antonjazz commented 2 years ago

Could this be related to #78?

Unfortunately it doesn't seem so. At least, the test app I link to above that demonstrates it doesn't present any sheets. Here's its main view.

gonzalezreal commented 2 years ago

I can't run the previews on the project you provided due to some misconfiguration of the preview content. Could you please try to reproduce the issue using the release-1.0 branch?

gonzalezreal commented 2 years ago

@antonjazz, Could you please check if this is still reproducing in MarkdownUI 1.0.0?

antonjazz commented 2 years ago

Fixed it! 🎯👍