Unable to connect to iPhone.

Make sure iphone is near this mac and turned on, with Bluetooth and wifi enabled. Iphone mirroring Macbook Air 2017. Iphone 14 pro max running ios 18. I get the passcode screen on my iphone to enable mirroring but after entering the passcode it displays this error.

submitted by /u/NeighborhoodNo1221
[link] [comments]