App signing

trying to deploy the LotBot app to my physical device, rtd2, which is listed as a device in the App Developer Portal. when I create a provision file it is always for W246SX52AS, as seen in the developer portal, but from Xcode I am showing a app id of "Apple Development: Richard Dukes (86537MF8N2)". Message:

I am unable to create a "Apple Development: Richard Dukes (W246SX52AS)" so I may deploy to the device and the App Store. I have signed out and back in to Xcode with my account but when creating the profile it is always the 86537MF8N2.

95E07D345D31D45E4589FA7EA6FDF161E079C100 "Apple Distribution: Richard Dukes (W246SX52AS)"

5AC76CE9331F80AE953C4C76FC21DE5C2416293E "Apple Development: Richard Dukes (86537MF8N2)"

How can I get Xcode to use W246SX52AS? I have these help tickets open as well. case ID is 102678952862 case ID is 102678950460

I have been fighting this for a while. Please help me figure out to get this resolved.

Answered by DTS Engineer in 856000022

I’m assuming that LotBot is an app that you’re developing, not something from another developer.

How can I get Xcode to use W246SX52AS?

You are mixing up your 10 character alphanumeric codes, which isn’t a surprise because those codes show up in multiple places. The ones I can think of off the top of my head are used:

  • To identify a team — In your case that’s W246SX52AS, aka your Team ID.
  • To uniquely identify an individual within a team — In this case that’s 86537MF8N2.
  • For unique App ID prefixes — This is effectively deprecated; you can and should use your Team ID as your App ID prefix.

A distribution code-signing identity, that’s the Apple Distribution: Richard Dukes (W246SX52AS) name in your case, always uses the Team ID because it’s scoped to your team as a whole.

A development code-signing identity, that’s the Apple Development: Richard Dukes (86537MF8N2) name in your case, always has the user ID because it’s scoped to you individually.


Still, while these details are interesting, it’s not something you necessarily need to understand. My general advice for folks in your situation is to enable automatic code signing and let Xcode sort everything out.

In Investigating Third-Party IDE Code-Signing Problems I have some general instructions on how to test your code signing setup. Please run through those and see how far you get. [And, yeah, I know you’re not using a third-party IDE, it’s just that I wrote down those instructions in that context and now I find myself using them in lots of other contexts.]

Share and Enjoy

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

I’m assuming that LotBot is an app that you’re developing, not something from another developer.

How can I get Xcode to use W246SX52AS?

You are mixing up your 10 character alphanumeric codes, which isn’t a surprise because those codes show up in multiple places. The ones I can think of off the top of my head are used:

  • To identify a team — In your case that’s W246SX52AS, aka your Team ID.
  • To uniquely identify an individual within a team — In this case that’s 86537MF8N2.
  • For unique App ID prefixes — This is effectively deprecated; you can and should use your Team ID as your App ID prefix.

A distribution code-signing identity, that’s the Apple Distribution: Richard Dukes (W246SX52AS) name in your case, always uses the Team ID because it’s scoped to your team as a whole.

A development code-signing identity, that’s the Apple Development: Richard Dukes (86537MF8N2) name in your case, always has the user ID because it’s scoped to you individually.


Still, while these details are interesting, it’s not something you necessarily need to understand. My general advice for folks in your situation is to enable automatic code signing and let Xcode sort everything out.

In Investigating Third-Party IDE Code-Signing Problems I have some general instructions on how to test your code signing setup. Please run through those and see how far you get. [And, yeah, I know you’re not using a third-party IDE, it’s just that I wrote down those instructions in that context and now I find myself using them in lots of other contexts.]

Share and Enjoy

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

App signing
 
 
Q