SkiaSharp
SkiaSharp copied to clipboard
[BUG] expected class 'ObjCRuntime.DisposableObject' in assembly 'Xamarin.iOS
Description
After upgrade SkiaSharp.View from 2.80.4 to 2.88.0 , when running program , throws exception
System.TypeLoadException: 'Could not resolve type with token 01000074 from typeref (expected class 'ObjCRuntime.DisposableObject' in assembly 'Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065')'
Code
Expected Behavior
works like 2.80.4
Actual Behavior
throw exception
Basic Information
- Version with issue: 2.88.0
- Last known good version: 2.80.4
- IDE: Visual Studio
- Platform Target Frameworks:
- iOS: 14.1
- Target Devices:
- iphone 12 pro max
Screenshots
Reproduction Link
(https://github.com/mattleibow/SkiaSharpDemo/tree/master/SkiaSharpNativeDemo/SkiaSharpNativeDemo.iOS) and upgrade Skiasharp.View to V2.88.0
Same problem on my side !
I am getting exactly the same error, updating from V2.80.3 to 2.88.0, in code that has not changed for weeks, maybe months, and has previously been perfectly stable.
I had the same error updating SkiaSharp.Views.Forms from 2.80.2 to 2.88.0. Checked also Version 2.88.1 but the error still exists.