I tried to remove the reference from the iOS project and then re-added it. Eventually it worked.
Xamarin ios binding library cannot be referenced

Wei Wen
1,096
Reputation points
I created a Xamarin Forms project, and added Android and iOS binding libraries. I added the libraries by right-clicking either MyProject.Android or MyProject.iOS and select Add -> Reference. In the opened popup window, I selected Projects tab, chose the binding library, and clicked Select button. However, only the Android binding library can be referenced in MyProject.Android's classes. This issue is similar to the MAUI project I created to use binding libraries. Is this a bug in Visual Studio 2022 for Mac? The version I used is 17.4.