If you're unable to type on your iPhone via your MacBook's keyboard during iPhone Mirroring, several factors might be causing this issue.
First, ensure that both devices meet the system requirements:
your Mac should have an Apple silicon or T2 security chip running macOS Sequoia 15 or later,
and your iPhone should be on iOS 18 or later.
Next, verify that the keyboard layouts on both devices match; discrepancies can lead to typing issues.
Restarting both devices can resolve temporary glitches.
If the problem persists, relaunch the iPhone Mirroring app on your Mac by force quitting and reopening it.
Additionally, check for any software conflicts, such as VPNs or firewall settings, that might interfere with the mirroring functionality.
If none of these steps resolve the issue, consider reaching out to Apple Support or walk in to a Apple Service provider for further assistance.