I completely agree. I played with the build configuration files yesterday and that's absolutely the way to go.
Again, I really appreciate your responses - I'd blown so much time stuck on this and you instantly got me past it.
Post
Replies
Boosts
Views
Activity
Maybe you want: https://developer.apple.com/documentation/security/keychain_services
What does keychain services have to do with it? I don't see any new or relevant API's there, or am I missing something?
I was randomly searching these forums and happened to see someone mention tccutil, which does exactly what I need. The man page has great example usage.
Problem solved.
Even if Apple don't provide the solution, how about providing API's for Spaces that we've been asking for over the past decade?!