publishing app - Communication with Apple failed - error

Hello.

I have a problem while im trying to archive my application throw the xcode.

I follow instructions about certificates, profiles etc. (i create distributions because i don't have an iphone and while i create the distribution i don't have an option to select a devices) i'm working throw my macBook.

After installing certificates and setting up my xcode, i build the app and the trying to archive but i get the following error:

Communication with Apple failed Your team has no devices from which to generate a provisioning profile. Connect a device to use or manually add device IDs in Certificates, Identifiers & Profiles. https://developer.apple.com/account/

(i tried manually and automatic throw xcode) (i already added my mac device to devices the developer account.)

What the problem is?

Is this failure when you choose Product > Archive? Or when you attempt to publish the app from the Xcode organiser?

Share and Enjoy

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

Yes. This is a failure while trying to archive the app from the xcode. Product -> Archive

OK. Thanks for confirming that.

If you select a real iOS device [1] as your run destination choose Product > Run, does that work?

Share and Enjoy

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

[1] So not the simulator and, if you’re on Apple silicon, not your Mac.

yes that worked. Thank you

publishing app - Communication with Apple failed - error
 
 
Q