Team Id Changed / Old Team Id Automatically Signs

Good afternoon, I have the latest version of Xcode. I am trying to debug why I am not able to Sign in with Apple Sign In on my app. After days of trying everything I just noticed today that the TeamID Xcode is using to automatically sign the app is not my current Team Id. I had a years hiatus and my code login expired. When I recreated my account I got a new Team Id and that is what is on all my certificates, profiles, etc. Old team id: Z82SJZ64R6 Current team id: 22649D52Q5. I take off automatically signing and select my Mac app bistro and iOS app distro and the app fully builds then Xcode crashes with an error that mentions security - Error code 5.

Is there a way for me to change the old team id in Xcode? I've already tried logging out and back in through settings.

AFAICT Z82SJZ64R6 is not a valid Team ID and never has been. I’m not sure where that came from, but be aware that Apple’s systems use these 10 character alphanumeric codes for lots of different things, not just for Team IDs.

Let’s start with some basics. If you create a new app from the iOS > App template, using a new, unique bundle ID, and enabling automatic code signing with Team ID 22649D52Q5, are you able to run that app on a real device?

ps I realise that you asked about macOS, and I’m happy to come back to that at some point, but I’d like you to test this with iOS first. That’s because iOS is stricter about code signing. So, by running the test on iOS I learn more than if you ran it on macOS.

Share and Enjoy

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

Thank you for taking the time to reply and assist in troubleshooting this matter. That's a smart first step. I went ahead and created a new project. I wasn't logged in for digital signing so I had to login with my apple developer account and sure enough, it's that odd Team Id and not my current one.

Team Id Changed / Old Team Id Automatically Signs
 
 
Q