Xamarin Apple Account error: There was an error while loading your certificates: Object reference not set to an instance of an object
I’m trying to solve this problem that I have. Checking iOS configuration I realized that I have another problem with Apple Account certificates, I don’t know if this problem is causing the first one. I’m using Visual Studio Professional 2019 Version 16.11.3 on Windows 10 Pro laptop. At this moment the iPhone is running iOS 15 and the Macbook has Xcode 13 and xamarin.ios SDK 126.96.36.199 (downloaded from here) installed.
In Visual Studio, I follow these steps:
Go to Tools > Options > Xamarin > Apple Accounts.
Select the team.
Press the "View Details…" button.
I get this error while certificates and provisioning profiles are loading:
There was an error while loading your certificates: Object reference not set to an instance of an object.
Then, the provisioning profiles are loaded successfully.
If I try to create a certificate pressing Create Certificate > iOS Development button, I get the same error.
All certificates are installed in the Macbook dragging files to Keychain.