Microcharts icon indicating copy to clipboard operation
Microcharts copied to clipboard

[Question] Exception occured on IOS when use all the Chart ,But it works on windows and Andriod

Open Perryyang1979 opened this issue 1 year ago • 1 comments

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?

Perryyang1979 avatar Jan 06 '24 17:01 Perryyang1979

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

crwsolutions avatar Feb 23 '24 17:02 crwsolutions