Beat Wi-Fi client isolation for mobile MITM by making the Mac the router
To MITM a phone's app traffic with mitmproxy you need the phone to route internet through a machine it can reach, but event/campus Wi-Fi client isolation blocks phone-to-laptop. Robust fix without a dedicated router: give the Mac a NON-Wi-Fi uplink (USB-tether from a SECOND phone, or ethernet), then macOS System Settings > General > Sharing > Internet Sharing: share from that uplink 'To computers using: Wi-Fi'. The Mac becomes its own AP (gateway ~192.168.2.1). Join the TARGET phone to the Mac's Wi-Fi and set its proxy to the Mac's sharing IP:8080. Because the Mac owns the network, isolation can't apply. Hard constraint throughout: the phone being proxied can never be the same device that provides the uplink/hotspot - you always need a second internet source. A Raspberry Pi running hostapd is the reusable version of the same idea.