Xcode always uses free Team (CKY689QC8W) instead of paid Team (CK4269T4Q4) for code signing

I have a paid Apple Developer account (Team CK4269T4Q4, renewed until 2027/7/10), but Xcode always generates development certificates under my free personal Team (CKY689QC8W) instead of the paid one.

What I've tried:

Deleted all certificates from Keychain → Xcode regenerates under CKY689QC8W Revoked all certificates on developer.apple.com → same result Manually created CSR + uploaded certificate → still CKY689QC8W Signed out/in of Xcode account → no change Clean build, deleted derived data → no change The problem: iOS 18.7 requires online verification for free Team certificates. The verification always fails with "需要互联网连接以验证是否信任开发者". The "VPN & Device Management" section on iPhone never shows the developer profile.

Apple Support case: 102939216200 — they confirmed the certificate was created correctly under CK4269T4Q4, but referred me to technical support here.

Has anyone encountered this? How can I force Xcode to use my paid Team for code signing?

Answered by DTS Engineer in 898694022

CKY689QC8W isn’t a valid Team ID. Are you sure you’re not confusing it with your User ID or your Team Member ID? See Code Signing Identifiers Explained for an explanation of that distinction.

Share and Enjoy

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

Accepted Answer

CKY689QC8W isn’t a valid Team ID. Are you sure you’re not confusing it with your User ID or your Team Member ID? See Code Signing Identifiers Explained for an explanation of that distinction.

Share and Enjoy

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

回复 Quinn - Apple Developer Forums


Thanks Quinn! You're absolutely right — I confused the certificate identifier with the Team ID. My actual Team ID is CK4269T4Q4.

So to restate the real issue: I'm unable to run my development app on my iPhone (iOS 18.7.9). Every time I try, I get:

"The Developer App Certificate is not trusted."

The strange part is that Settings → General → VPN & Device Management is completely empty on my iPhone — there's nothing to trust. I've already tried:

  • Deleting all certificates/profiles and starting fresh
  • Resetting all iPhone settings
  • Toggling Developer Mode on/off + restarting
  • Installing intermediate certificates (G3/G4)
  • Re-signing with --timestamp=none

Nothing has made the "VPN & Device Management" section appear. Could this be a known issue with iOS 18.7.9? Any suggestions would be greatly appreciated.

The Settings > General > VPN & Device Management thing is a red herring. If you build and run an app via Xcode’s standard Product > Run command, nothing shows up there [1]. That’s because the provisioning profile is embedded within the app itself, and it’s automatically trusted by virtue of it being a development profile that includes your specific device’s provisioning UDID.

As to why you’re see this failure, it’s hard to say without more details of the failure. Try this:

  1. Using Xcode, create a new test project from the built-in iOS > App template.
  2. Make sure you team is selected in Signing & Capabilities.
  3. Select your device as the run destination.
  4. Choose Product > Build.
  5. Assuming it builds, choose Product > Run.

What do you see?

Also, what version of Xcode is this? And what version of macOS?

Share and Enjoy

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

[1] It is relevant in other scenarios, most notably In-House (Enterprise) distribution.

Xcode always uses free Team (CKY689QC8W) instead of paid Team (CK4269T4Q4) for code signing
 
 
Q