moko-resources
moko-resources copied to clipboard
SwiftUI Previews doesn't work when a resource from Moko Resources used
Hello 👋
Wanted to create this issue since long time, maybe the solution will be found here will be helpful for others.
I created a reproducing branch here: https://github.com/Oztechan/CCC/tree/1441-Enable_iOS_SwiftUI_Previews You can see the diff in this PR: https://github.com/Oztechan/CCC/pull/1442/files
The branch currently shows the Preview since I commented 3 lines with colors, and i add one comented line for string as well for reproducing the issue.
Immediately after I enable one of the commented line I get the error below and the Preview crashes Attaching the log with crash here: CCC-2022-12-15-161941.ips.zip
@Alex009 any update on this issue?
Hey, I am are also facing the issue, could we have a fix for this?
I have the similar issue for compose previews saying: "org.objectweb.asm.MethodTooLargeException: Method too large: com/countroll/shared/MR$strings. ()"