HW kbd Failed to set (null) as keyboard focus ios

2019-03-17 10:33发布

In my iOS app crash log I found this statement:

HW kbd Failed to set (null) as keyboard focus ios

Does anyone know what this is and how to resolve it?

2条回答
地球回转人心会变
2楼-- · 2019-03-17 10:44

I've just encountered this exception running a Xamarin app on the simulator. It started occurring after I toggled the software keyboard off while debugging the app. Given the exception mentioning the keyboard I think that's what caused it.

Uninstalling the app from the emulator, cleaning and rebuilding fixed the issue for me.

Unsure if this bug is on Apple's side or Xamarin's.

查看更多
Anthone
3楼-- · 2019-03-17 11:07

The only references I could find related to Xamarin was close, but the inverse of this - the app crashing on the simulator, but working on an actual device. The resolution in that forum post doesn't describe what the problem might be, but does suggest that cleaning the project and rebuilding may resolve it.

The specific message HW kbd Failed to set (null) as keyboard focus ios is related to the app crashing, but there's no additional information in the pastebin to really help pin down why it's crashing.

You might also consider adding logging statements in your code to see if you can isolate the issue.

查看更多
登录 后发表回答