login item still displays my personal name after migrating to company account

I have a mac app which has a launch agent. I signed it with my account, but it always shows as my personal 'XX XXX" in the login items of mac settings. Actually this is the reason I switched my personal account to a company account. But now it is still shown as 'XX XXX' in the login items after I signed up again with this company account. Do you know how I can change this? The identity I also tried to create a new one with the team, but it does not allow me to create a new one. Chatgpt recommends revoking the current one, but this will affect our old release.

Answered by DTS Engineer in 853490022

Have you testing this on a ‘clean’ Mac? That is, one that’s never seen your app previously.

I usually do this sort of testing in a VM, using the process that I outline in Testing a Notarised Product.

The reason this matters is that macOS caches a bunch of information about your app, so if you’ve run your app on your test Mac previously — and this is especially true if this is your development Mac — you may be seeing results from the cache.

I recognise that this is a problem in and of itself, but before we start looking at that I want to make sure that this works in general.

Share and Enjoy

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

Your support has change my personal to company name on app store of my ios App, but macOS still use the personal name.

Have you testing this on a ‘clean’ Mac? That is, one that’s never seen your app previously.

I usually do this sort of testing in a VM, using the process that I outline in Testing a Notarised Product.

The reason this matters is that macOS caches a bunch of information about your app, so if you’ve run your app on your test Mac previously — and this is especially true if this is your development Mac — you may be seeing results from the cache.

I recognise that this is a problem in and of itself, but before we start looking at that I want to make sure that this works in general.

Share and Enjoy

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

I did do this on clean mac, it is done on github CI, so it is clean mac for sure.

https://github.com/rustdesk/rustdesk/blob/1d6037003a24664ac92f2cb390fb94f30468b3a2/.github/workflows/flutter-build.yml#L591

Do you mean the display name is related to notarization rather than signing?

Do you mean the display name is related to notarization rather than signing?

No.

Ideally the display name should be based on the name of the associated app. In situations where that fails, the system will get it from the certificate used to sign the launchd agent. If you’re in an Individual team, that’s how it ends up showing your name. But if you’re in an Organization team then the certificate shows the organisation’s name, not your name.

Oh, wait, I’ve been assuming that you’re distributing your app directly using Developer ID signing. But these day it’s possible to use SMAppService to install a launchd agent from a Mac App Store app. So, is your app distributed directly? Or on the Mac App Store?

Share and Enjoy

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

Our app is distributed directly. But I installed a lot of directly distributed mac app, they do display company name.

I also tried to AssociatedBundleIdentifiers in launchagent plist file, it does not work either by following https://developer.apple.com/documentation/servicemanagement/updating-helper-executables-from-earlier-versions-of-macos We tested on macos 15.

login item still displays my personal name after migrating to company account
 
 
Q