moko-resources icon indicating copy to clipboard operation
moko-resources copied to clipboard

SwiftUI Previews doesn't work when a resource from Moko Resources used

Open mustafaozhan opened this issue 2 years ago • 3 comments
trafficstars

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

mustafaozhan avatar Dec 15 '22 14:12 mustafaozhan

@Alex009 any update on this issue?

harunagic avatar Apr 29 '24 21:04 harunagic

Hey, I am are also facing the issue, could we have a fix for this?

amitjangirhKT avatar Jul 23 '24 07:07 amitjangirhKT

I have the similar issue for compose previews saying: "org.objectweb.asm.MethodTooLargeException: Method too large: com/countroll/shared/MR$strings. ()"

Danijal98 avatar Oct 15 '24 14:10 Danijal98