在Xamarin iOS应用程序中安装RestSharp时出错-无法安装软件包
正在尝试将包RestSharp添加到Xamarin iOS应用程序。接收错误:在Xamarin iOS应用程序中安装RestSharp时出错-无法安装软件包,xamarin,restsharp,Xamarin,Restsharp,正在尝试将包RestSharp添加到Xamarin iOS应用程序。接收错误: Could not install package 'RestSharp 105.0.1'. You are trying to install this package into a project that targets 'Xamarin.iOS, Version=v1.0' but the package does not contain any assemblies compatible with
Could not install package 'RestSharp 105.0.1'.
You are trying to install this package into a project that targets
'Xamarin.iOS, Version=v1.0' but the package does not contain any assemblies
compatible with the framework.
来自NuGet.org的RestSharp NuGet包不包含任何与iOS兼容的程序集 Xamarin的组件库中有一个可用的组件,您可以使用它
另一个选择是找到提供可移植类库的不同NuGet包。NuGet.org上有几个可移植的RestSharp版本您使用的是Xamarin.iOS统一项目吗?