How to add macOS framework to Unity app?

I’ve found plenty on adding iOS frameworks to Unity but none to help with adding a macOS framework to my Unity project.

Can anyone help?

If it is your own framework, just drag it into the appropriately-named Plugins folder (maybe Plugins/MacOSX?) and put it under your usual source control.

If it’s one of the system ones, I pretty confident there’s a mod_pbxproj.py way to do it, but you would have to do some googling.