Hi everyone,
I am developing a macOS virtualization manager (VirtualProg) using the Virtualization.framework. The application is distributed via the Mac App Store, so it operates strictly within the App Store Sandbox.
I am looking for a reliable, programmatic way to discover the IP address assigned to a guest (both macOS and Linux).
Is there a recommended "Sandbox-safe" API or pattern within the Virtualization framework—or a lower-level networking entitlement—that allows a host application to retrieve the guest's assigned IP address?
Ideally, I am looking for a solution that does not require the user to manually install a non-sandboxed helper tool.
Thanks in advance for any insights or guidance!