gonzalezreal / swift-markdown-ui

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

The Demo project does not run #199

Closed randomsnowflake closed 1 year ago

randomsnowflake commented 1 year ago

I downloaded the repository and opened the Examples/Demo project file in the newest Xcode.

While the build (for all platforms) succeeds, running the app doesn't do anything. No binary is generated.

Also, when opening the SwiftUI views, the Canvas displays "Cannot preview in this file - Active scheme does not build this file".

gonzalezreal commented 1 year ago

Have you selected the correct scheme?

You need to select the Demo scheme to run the demo. Once you choose the scheme, everything should work fine, including previews.

Screenshot 2023-03-13 at 10 15 15

randomsnowflake commented 1 year ago

Yes, that was it. Thanks.