Out of curiousity, does anyone have insight into the observed behavior?
Questions about this are usually asked from one of two perspectives:
The developer wants the keychain item to persist and is seeking reassurance that things will continue to work that way.
The developer wants the keychain item to be deleted and is grumpy that it doesn’t work that way.
If you fall into the first category, I can’t give you any reassurances. IMO it’s fine to use this feature for the moment but I strongly encourage you to write your app so that it acts reasonably if this behaviour changes.
If you fall into the second category, you can effectively implement an auto delete feature by entangling the secret you store in the keychain with a key that you store on disk. If the app gets deleted that on-disk key goes away and you effectively lose access to the keychain item.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"