Error "The type 'NSObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.iOS, Version=0.0.0.0" #20570
Labels
need-attention
An issue requires our attention/response
Milestone
Issue moved from dotnet/maui#22021
From @navkumar401 on Wednesday, April 24, 2024 4:26:12 AM
0
In my iOS MAUI project, I'm getting an error "The type 'NSObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'Xamarin.iOS, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'" for references that are referring to a Binding Project that has been upgraded to Microsoft.iOS framework.
I can see that the Binding Project is referencing Microsoft.iOS in the decoded DLL but still, the iOS project is throwing the above error for Xamarin.iOS.
I couldn't find much help online and being stuck with this for a long time, any help would be great.
The text was updated successfully, but these errors were encountered: