Xcode 10 Failing to download provisioning profiles

烂漫一生 提交于 2019-12-01 01:19:01

问题


Xcode can't download provisioning profiles, I m getting the error:

Error Downloading Profiles

Xcode encountered a problem downloading profiles for team XXX with account xxxxx@xx.com

The error detail:

Error Domain=IDEProvisioningPortalErrorDomain Code=3 \"Communication with Apple failed\" UserInfo={NSLocalizedDescription=Communication with Apple failed, NSLocalizedRecoverySuggestion=An unexpected error occurred. Profile download succeeded but there wasn't any profile data in the payload.}

  • I tried to restart Xcode, Mac but it's not working!
  • I also tried to remove my account and add it again
  • I can login to my account via web
  • I can download provisioning profiles from developer portal and install them


回答1:


Looks like a bug with Xcode 10, and it was observed earlier with Xcode 8 as well as stated at Xcode Profiles Won't Download

As a workaround, you can try the following steps,

1) Visit developer.apple.com in Safari

2) Click Account and sign in

3) Click on Certificates, Identifiers, and Profiles

4) Navigate to the profile you're interested in and download it

5) Drag the downloaded profile onto Xcode's icon in the dock.

At this point, your profile will be installed on your Mac and usable within Xcode.



来源:https://stackoverflow.com/questions/53960477/xcode-10-failing-to-download-provisioning-profiles

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