Issue with SkiaSharp Native Library Version Mismatch in .NET MAUI (IOS only)
Thinh NPD
45
Reputation points
System.TypeInitializationException: The type initializer for 'SkiaSharp.SKObject' threw an exception.
---> System.InvalidOperationException: The version of the native libSkiaSharp library (116.0) is incompatible with this version of SkiaSharp. Supported versions of the native libSkiaSharp library are in the range [118.0, 119.0).
My environment:
- .NET MAUI version: 8.0
- SkiaSharp package version: 3.116.1
- Native Assets Packages: SkiaSharp.NavtiveAsset.IOS
What I've tried so far:
- Updating all SkiaSharp-related NuGet packages to the latest versions.
- Cleaning the solution and rebuilding the project.
- Verifying that the native assets packages are correctly referenced.
Sign in to answer