Microcharts
Microcharts copied to clipboard
[Question] Exception occured on IOS when use all the Chart ,But it works on windows and Andriod
In my .net Maui App
I use Reference "Microcharts.Maui" Version="1.0.0"
it works on windows and Andriod . Unfortunately, I got exception on iOS . Exception : [0:] An error occurred: '@rpath/libSkiaSharp.framework/libSkiaSharp'. Callstack: ' at SkiaSharp.SKPaint..ctor() at Microcharts.AxisBasedChart..ctor() at Microcharts.PointChart..ctor() at Microcharts.LineChart..ctor()
when I use
IncomeChart = new LineChart { Entries = incomeEntries, IsAnimated = true, AnimationDuration = TimeSpan.FromSeconds(1.5f) };
Is there any some special setting I need to do for IOS?
I got the same error. In my experience it does not work when I:
- ... run the app as iOs local device.
But it does work when I:
- ... run the app as iOs remote device, and
- ... run the app in a iOs simulator.
This bug report seems very related: https://github.com/mono/SkiaSharp/issues/2410