Fail to archive XCode

I’m trying to archive my app in Xcode but keep running into issues. When I attempt to archive, I see two errors:

  1. “Communication with Apple failed. Your team has no device from which to generate a provisioning profile. Connect a device to use or manually add a device ID in the certificate.”

  2. “No profiles were found” — Xcode can’t locate a matching iOS development provisioning profile.

I’ve already added the device ID manually, set up my bundle identifier in Apple Connect (which was detected), and signed in with my Apple ID in Xcode. What steps should I take to resolve this? If there’s a thread, article, or anything that explains the fix, I will appreciate if you can share it as well.

Also, is it common that I created the project, but my role shows as Admin instead of Account Holder? I tried to find a way to change my role from Admin to Account Holder, but I couldn’t find any resources.

Thank you in advance for your help!

This error usually means what it says, that is, there’s no device registered to your developer account and thus Xcode can’t generate a valid development provisioning profile.

The standard way to fix this is to attach an iOS device to your Mac via USB, and then using Xcode to build and run on that device. Automatic code signing will take care of registering the device with your developer account, creating a provisioning profile, and so on.

You wrote:

I’ve already added the device ID manually

How did you do that?

You posted this question from Team ID 8________T. Is that the team you’re trying to build for. If so, note that our records show no registered devices for that team.

my role shows as Admin instead of Account Holder?

The above-mentioned team is an Individual team, meaning that you are by definition the account holder.

Are you a member of a different team? If so, can you share the Team ID here?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Thank you so much!! Attaching an iOS device to my Mac via USB solved this problem!!

Have a wonderful day!

Amy

Fail to archive XCode
 
 
Q