As Stephen Hackett noted recently, iPhone Mirroring is Very Good. My use case is a little different; instead of letting my Mac run iOS-only apps, it’s more about separating my work and personal life while maintaining access to the latter while busy at the former. It was one of the iOS 18 features I was most excited about.

Of course I can always pull out my phone, but a quick glance at a mirrored notification from my wife or my kid’s school while working on my work laptop is really nice… and I don’t need to be logged into my personal Apple Account on my work laptop.

Unfortunately, the mirroring has been pretty unstable for me. The connection would keep timing out, and I’d have to start the pairing process over completely… and that wouldn’t seem to survive switching networks (whether between home and office or just undocking). I got errors like “Unable to Connect to iPhone Mirroring” and “Connection Timed Out” with retries usually not helping.

Sometimes I had to do a settings reset with

defaults delete com.apple.ScreenContinuity && rm ~/Library/Preferences/com.apple.ScreenContinuity.plist

Still this wouldn’t last long and I’d have to do it all over again, and sometimes even multiple tries wouldn’t work. (Usually notifications stayed connected, but those might be getting delivered a different way?)

The Fix

I had forgotten that some time ago I had enabled the Private Wi-Fi Address feature on all of my devices. As it turns out it seems like rotating MAC addresses interferes with iPhone Mirroring. Switching to Fixed on each private network I use regularly (at home and at the office) seems to have resolved it. Thanks to a few folks in a work Slack channel who suggested checking these settings.

On the Mac, open WiFi settings, and click Details next to the current network (or the … next to a known but not connected network). In the detailed view that pops up, select Fixed in the drop down menu for Private Wi-Fi Address instead of Private.

On the iPhone, it’s a little different but still in WiFi settings. Tap the ⓘ next to a network and tap Private Wi-Fi Address to check Fixed if it’s not selected. You may need to scroll down to see it.

Since I made this change, it seems to be able reconnect easily and stay connected for a long time. I’ve even been able to leave my phone charging at my desk while I’m on my laptop in a nearby conference room and it stays connected.

One limitation to take note of is that since Mirroring uses the same ad-hoc network technology as AirPlay, you can’t do both at the same time without an error. Presumably the sensitivity to MAC address changes is related to how this all works. You would think Apple’s vertical integration would let them better handle or at least warn about this conflict, but then again the features are probably managed by different teams and aren’t easily tested for interaction.

Hope this helps you use this feature if you were running into the same errors as I was!


Comments

What do you think?