Xamarin.forms 表单iOS构建可以';t解析引用';系统图.矩形F';

Xamarin.forms 表单iOS构建可以';t解析引用';系统图.矩形F';,xamarin.forms,xamarin.ios,Xamarin.forms,Xamarin.ios,在为Xamarin.Form.iOS构建时出现此错误 Can't resolve the reference 'System.Drawing.RectangleF', referenced from the method 'System.Void Xamarin.Forms.Platform.iOS.VisualElementTracker/<>c__DisplayClass29_0::<OnUpdateNativeControl>g__update|0()' in 'S

在为Xamarin.Form.iOS构建时出现此错误

Can't resolve the reference 'System.Drawing.RectangleF', referenced from the method 'System.Void Xamarin.Forms.Platform.iOS.VisualElementTracker/<>c__DisplayClass29_0::<OnUpdateNativeControl>g__update|0()' in 'System.Drawing.Common, Version=4.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

我不知道如何解决这个问题,我使用的是最新版本的Xamarin表单和VS2017。

因为您使用的是最新版本的Xamarin.Forms。这涉及到版本为13.x.x.x的Xamarin.iOS。但您的Visual Studio 2017的Xamarin.iOS版本与Mac上的版本不匹配。Windows上的VS 2017最新版本仅包含Xamarin.iOS 12.x.x.x。因此,您可以将IDE更新到VS2019,并确保Xcode的版本是最新的(11.2.1)。是的,我使用的是最新版本的Xamarin.Forms和Xcode。但我使用的是AnkhSVN,它只有在VS2017年才有,无论如何,谢谢你的支持,我会考虑你的建议
Launch failed. The app 'MyApp.iOS' could not be launched on 'iPhone 6 iOS 12.0'. Error: error MT1008: Failed to launch the simulator: Could not find file "/Users/imac-nas01/Library/Caches/Xamarin/mtbs/builds/...