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.
方案:
The fix is as follows in Xcode:
Select the project -> Targets -> Signing & Capabilities [All] -> App Sandbox enable either or both options Incoming Connections (Server) Outgoing Connections (Client)