Xcode 13.2.1 preview canvas not responding to keyboard

Hi,

The canvas shows correctly all updates to the code, but when the run button is clicked, the keyboard is not working.

I have tried a new project, deleted the simulator plist in the preferences, of course, cleaned and built again.

Nothing works, and it is driving me nuts.

I run the code on a device or a simulator, works as expected, just not in the canvass.

Thought?

Thanks so much! Blessings, --Mark

  • I have the same issue since updated to Xcode 13.2.1 Not able to use hardware keyboard in preview canvas. Software keyboard appears in preview but is invisible. You can still klick on it but you can't see it.

  • Same problem using M1 MacBook Pro and Xcode 13.2.1.

  • I am also experiencing this issue with M1 Pro MacBook Pro and XCode 13.2.1. Can't see the keyboard or use hardware keyboard but can still type on an invisible keyboard on the canvas. Was not experiencing this issue before. Would love to know why this is.

Replies

Hi,

Sorry to hear you are having problems getting keyboard input in live previews working. Would you be able to file a feedback and include a sample project where the issue reproduces as well as a screen recording? If you then report back here with the feedback ID I'll make sure the bug gets routed to the appropriate engineers right away.

  • Thanks so much for sending this forward, I really appreciate it.

    The ID is FB9825325

    Thanks. Blessings, --Mark

  • I had a similar issue too. The Xcode projects worked fine in Big Sur and earlier versions of Xcode. Updating to Monterey 12.1 and Xcode 13.2.1 somehow crashed projects in Preview / Canvas, but OK in simulator. I've tried all the suggestions --- erasing the cache and restarting the computer, Build, tried both versions of Xcode 13.2.1 from App Store and Apple Dev center-- Still broken.Interestingly, when I switched to Guest user, I was able to run my projects Xcode 13.2.1 in Preview / Canvas but the Keyboard would not work. Simulator is working fine... what's up with that?? Also, I can somehow get keyboard input (-- in a TextField) if I tap where in the keyboard location is supposed to be

Add a Comment