Thanks for the response. I had tried that, but it was being rejected with the error 'One or more parameters passed to a function were not valid.' However, this turned out to be because I was passing in the valueData as a string and not as Data(). This is accepted for the file-based keychain implementation, but not the data protection keychain. With that change, things work!
It now works as expected, thanks for your help!
Topic:
App & System Services
SubTopic:
Processes & Concurrency
Tags: