SkiaSharp icon indicating copy to clipboard operation
SkiaSharp copied to clipboard

[BUG] expected class 'ObjCRuntime.DisposableObject' in assembly 'Xamarin.iOS

Open wumingwuan opened this issue 2 years ago • 3 comments

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 bug

Reproduction Link

(https://github.com/mattleibow/SkiaSharpDemo/tree/master/SkiaSharpNativeDemo/SkiaSharpNativeDemo.iOS) and upgrade Skiasharp.View to V2.88.0

wumingwuan avatar May 25 '22 02:05 wumingwuan

Same problem on my side !

AHComp avatar Jun 07 '22 13:06 AHComp

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.

PatrickRyder avatar Jun 08 '22 09:06 PatrickRyder

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.

DiebBlue avatar Aug 06 '22 21:08 DiebBlue