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 [email protected]
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.}
How To Fix Xcode Failed To Create Provisioning Profile Error. To fix this error is very easy, just connect your real iOS device such as iPhone to the Mac computer with a USB line, follow the popup screen on the iPhone, then you can select your iOS device in the Set the active scheme drop down list.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With