Failed to synchronize ****.com teams with Apple Developer Portal.No such host is known. (Xamarin project).?

六眼飞鱼酱① 提交于 2019-12-02 07:13:32

问题


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


回答1:


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



回答2:


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



来源:https://stackoverflow.com/questions/58928366/failed-to-synchronize-com-teams-with-apple-developer-portal-no-such-host-is

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!