Hi is SwiftUI preview mode in Xcode known to work ...
# moko
t
Hi is SwiftUI preview mode in Xcode known to work with Moko Resources ? When I add a shared string to a text like
Text(MR.strings().btn_login_skip_login.desc().localized())
preview crashes, if I remove it preview works again. When I run the app the correct shared localised text is displayed.
a
Looks like bug. Please report issue on GitHub. With info about build - did you use static framework or dynamic?
x
moko-resources does definitely work with swiftUi previews for static framework
t
Just changed to dynamic framework instead of a static and now it works.