Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Perryyang1979 opened this issue Jan 6, 2024 · 1 comment
Labels

Comments

@Perryyang1979
Copy link

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 Perryyang1979 changed the title [Question] Exception [Question] Exception occured on IOS when use all the Chart ,But it works on windows and Andriod Jan 6, 2024
@crwsolutions
Copy link

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: mono/SkiaSharp#2410

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants