Do you have a current (for your OS) version of xcode installed? The error seems to be coming from it trying to build netifaces, which requires the developer tools to be installed iirc...
None of the core contributors to OctoPrint owns a mac so you might have to wait to find someone who has recently installed OctoPrint on macOS