4

Error : Failed to synchronize ****.com teams with Apple Developer Portal.No such host is known.

Apple developer account was working fine but on a sudden showing this error while opening Apple developer accounts from preferences

Path--> Visual Studio - Preferences - Apple developer Accounts

Visual studio 2019 for mac-version 8.3.8(build 8) Xcode- 11.2

Stephen Kennedy
  • 16,598
  • 21
  • 82
  • 98
XamarinInfo
  • 73
  • 1
  • 6

3 Answers3

2

It's a bug with Visual Studio for Mac. See this "closed" issue or a related one on Microsoft's Visual Studio website as well as a thread on Xamarin forums.

The "closed" issue page mentions that as a workaround, you might be able to manually provision by:

  • Quit Visual Studio for Mac
  • Launch XCode, select Preferences -> Accounts and "Download Manual Profiles" for the account you'd like to use (and/or remove and re-add the account)
    • In my experience, you might even need to create, build and run on a simulator or physical device a dummy project with the same bundle identifier as your Xamarin iOS project
  • Quit XCode
  • Relaunch Visual Studio for Mac
  • Open the Info.plist, select Manual Provisioning and press the "Bundle Signing Options..." button to select the signing identity that hopefully imported correctly
John Cummings
  • 1,450
  • 3
  • 17
  • 29
0

Had the same problem with VS for mac community 8.3.9 and xcode 11.2.1.

My work around was to add the signing certificate directly from xcode by creating a dummy application and assigning the app bundle to it, after xcode downloaded the certificate I could run my app on VS with no problem.

Cheers.

Edit:

Forgot to add that you have to manually sign it in VS with the corresponding provisioning profile

0

This issue is solved with latest update of Visual studio for mac.

Updated to- Version 8.3.10(build 2)

XamarinInfo
  • 73
  • 1
  • 6