How to build duplciacy cli on macOS?

What is the proper way to build duplciacy CLI on macOS?

Turning off go modules and fixing the swift version works, but resulting binary seems to have exclusion by time machine attribute not working.

Are there there any additional steps for macOS or maybe it’s just broken in the master (I built it on commit cacf6618d21f12039e4edd8758ab3e2c4aac04a6).

Did you change the keyring dependency as mentioned in Installation · gilbertchen/duplicacy Wiki · GitHub (if you don’t have XCode)?

I did not, but I do have Xcode installed along with command line tools.