Removing iOS style Keychain items on macOS which were created by Mac App (Mac App is enabled with macCatalyst)

We have an iOS app and toggled xcode setting and enabled Mac support (macCatalyst), so the same iOS App is running successfully on macOS environment. My iOS App uses keychain Local Items creation and the same followed  when we run macCatalyst. Now on simply deleting the macCatalyst app from /Applications in macOS computer, it is leaving the keychain items created in Local Items keychain. Our objective is to remove those keychain items using an external uninstaller (.sh or .app) after the app has been deleted from the computer. Any inputs on the approach would be highly appreciated.

The iOS app currently have the below capabilities enabled.

  • appGroups
  • Sandbox
  • Data protection
  • Keychain sharing