How to add an exception to Sandbox?

My MacOS program is printing a message in the terminal window in XCode

networkd_settings_read_from_file Sandbox is preventing this process from reading networkd settings file at "/Library/Preferences/com.apple.networkd.plist", please add an exception.

How do I do this? I don't see a way to add arbitrary File Access on the Signing & Capabilities tab under app setup.

XCode 13.3.1 OSX Monterey 12.3.1 Mac Mini M1

Accepted Reply

That preferences file isn’t meant for your app, meaning that this message is essentially log noise. See my On Log Noise post for my thoughts on that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Replies

That preferences file isn’t meant for your app, meaning that this message is essentially log noise. See my On Log Noise post for my thoughts on that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"