I want to embed a command line tool into my app. I would like the app to create keychain items, and access those from the tool. Has anyone done this? I've struggled for ages so far with no luck!
To test things I have created two test apps, enabled "Keychain sharing" under Signing & Capabilities, and specified the same keychain group in both apps. With this I can access the same keychain items just fine from each app.
However, when I embed a test Command Line Tool into one of those two apps, it doesn't seem to inherit the app's "Keychain sharing" setting, and can't access the keychain items created by the parent apps.
The code is at https://github.com/jeff-h/sharedKeychainAccessDemo in case anyone's interested.