Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/xamarin/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在Xamarin iOS应用程序中安装RestSharp时出错-无法安装软件包_Xamarin_Restsharp - Fatal编程技术网

在Xamarin iOS应用程序中安装RestSharp时出错-无法安装软件包

在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

正在尝试将包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 the framework.

来自NuGet.org的RestSharp NuGet包不包含任何与iOS兼容的程序集

Xamarin的组件库中有一个可用的组件,您可以使用它


另一个选择是找到提供可移植类库的不同NuGet包。NuGet.org上有几个可移植的RestSharp版本

您使用的是Xamarin.iOS统一项目吗?