The problem is that the Xamarin.iOS infrastructure, which is a new framework for unified iOS projects, is not considered an additional NuGet 2.8.2 (2.8.50313.46) or older framework when installing the Portable Class Library (PCL) in a PCL project. NuGet 2.8.2 considers MonoAndroid and MonoTouch as optional, but not Xamarin.iOS.
So your options are one of the following:
- Install NuGet 2.8.3 alpha .
- Delete the new xml files of the Xamarin.iOS PCL profile (Xamarin.iOS.Unified.xml).
NuGet 2.8.3 alpha has been changed, so it knows about the structure of Xamarin.iOS and considers it optional.
The new Xamarin.iOS PCL xml profile files were installed by one of the older releases of Xamarin 3.6. The latest version of Xamarin 3.6 does not install new xml files for the unified iOS PCL profile and requires a second installer that installs NuGet 2.8.3 alpha and the new xml files.
If you go to option 2), keep in mind that this will prevent the installation of NuGet packages, such as MvvmCross.PortableSupport, into the Unified Xamarin.iOS project.
source share