libres icon indicating copy to clipboard operation
libres copied to clipboard

iOS .svg does not work

Open anaesthez opened this issue 2 years ago • 1 comments

when running iOS simulator on multi-modular project lib cannot find rendition for a .svg image while on android app everything works perfectly fine

Uncaught Kotlin exception: kotlin.IllegalStateException: Image filters_icon not found at 0 PeakMe 0x1024db04f kfun:kotlin.Throwable#(kotlin.String?){} + 123 at 1 PeakMe 0x1024d3eab kfun:kotlin.Exception#(kotlin.String?){} + 119 at 2 PeakMe 0x1024d41d7 kfun:kotlin.RuntimeException#(kotlin.String?){} + 119 at 3 PeakMe 0x1024d46a7 kfun:kotlin.IllegalStateException#(kotlin.String?){} + 119 at 4 PeakMe 0x10262e51f kfun:io.github.skeptick.libres.images#image__at__platform.Foundation.NSBundle(kotlin.String;kotlin.String){}platform.UIKit.UIImage + 867

anaesthez avatar Oct 20 '23 19:10 anaesthez

Hello. This error means that image isn't included in application build. Check that cocoapods plugin and Podfile are configured correctly.

Skeptick avatar Oct 27 '23 11:10 Skeptick