IOS 模拟器软件键盘未出现

IOS Simulator Software Keyboard Not Appearing

IOS 模拟器中的软件键盘未出现,并在使用 Android Studio 和 Flutter 的控制台中显示错误:

[VERBOSE-2:ui_dart_state.cc(209)] Unhandled Exception: 'package:flutter/src/services/hardware_keyboard.dart': Failed assertion: line 790 pos 16: '(data.physical == 0 && data.logical == 0) ||
           (data.physical != 0 && data.logical != 0)': is not true.

要临时解决此问题,请切换:

I/O -> Keyboard -> Connect Hardware Keyboard

您现在可以使用软件键盘,而不是硬件键盘。