问题
I have an apple account with the admin role. Whenever I'm trying to add an apple account to visual studio, it displays "There was an error while trying to log in: A server with the specified hostname could not be found". I updated Visual Studio 2017 also. Still, it displays the same error.
Please help me.
回答1:
As @LeonLu mentioned, it might be a problem with the non-paid version of account.
This is stated in the Microsoft docs:
https://docs.microsoft.com/en-us/xamarin/cross-platform/macios/apple-account-management?tabs=macos
回答2:
I uninstalled Visual Studio 2017 and installed Visual Studio 2019. Now I'm able to add an Apple account to my Visual Studio.
来源:https://stackoverflow.com/questions/60630616/not-able-to-add-an-apple-account-to-the-visual-studio-2017