24
votes

I recently upgraded to Xcode 7 and today I noticed this warning in the log when I tapped a text field and the keyboard popped up:

Can't find keyplane that supports type 4 for keyboard iPhone-Portrait-NumberPad; using 563160167_Portrait_iPhone-Simple-Pad_Default

I have a UITextField that I set up in Interface Builder and configured it (also in IB) to display a number pad keyboard. I also noticed that for a normal type of keyboard this message does not appear.

I searched for a solution but none of what I found worked so far.

The simulator settings under Simulator -> Hardware -> Keyboard are:

Checked for Uses same layout as OS X
Unchecked for the other two.

Any ideas?

2

2 Answers

32
votes

Your iOS App can't find a Numeric Keypad attached to your OS X. So you just need to Uncheck connect Hardware Keyboard option in your Simulator, in the following path just for testing purpose:

Simulator -> Hardware -> Keyboard -> Connect Hardware Keyboard

This will resolve the above issue.

I think you should see the following link too. It says it's a bug in the XCode at the end of that Forum post thread!

Hint:
And also I think this is a point where you need to give a Soft-keyboard Close button just above the Number Keypad.

3
votes

That's because you're running the app on OS X and there is no numeric keypad attached to OS X. The solution is this:

enter image description here