Xcode iOS 8 Keyboard types not supported

111,049

Solution 1

I too had this problem after updating to the latest Xcode Beta. The settings on the simulator are refreshed, so the laptop (external) keyboard was being detected. If you simply press:

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

then the software keyboard will be displayed once again.

Solution 2

Go to iOS Simulator-> Hardware-> Keyboard -> Uncheck the Connect Hardware Keyboard Option. This will fix the issue.

Solution 3

This message comes when the keyboard type is set to numberPad or DecimalPad. But the code works just fine. Looks like its a bug with the new Xcode.

Solution 4

If you're getting this bug with Xcode Beta, it's a beta bug and can be ignored (as far as I've been told). If you can build and run on a release build of Xcode without this error, then it is not your app that has the problem.

Not 100% on this, but see if this fixes the problem:

iOS Simulator -> Hardware -> Keyboard -> Toggle Software Keyboard.

Then, everything works

Solution 5

I have fixed this issue by unchecking 'Connect Hardware Keyboard'. Please refer to the image below to fix this issueenter image description here

Share:
111,049
r4id4
Author by

r4id4

Updated on August 19, 2020

Comments

  • r4id4
    r4id4 over 3 years

    I have a UITextField Ctrl-dragged as an @Outlet in my .swift class. Now in viewDidLoad i'm using this code

    self.myTextField.keyboardType = UIKeyboardType.DecimalPad
    

    When i launch my app on simulator and click on the UITextField i got this log

        Can't find keyplane that supports type 8 for keyboard 
        iPhone-Portrait-DecimalPad; 
        using 2617181025_Portrait_iPhone-Simple-Pad_Default
    

    I have no crash or something but the keyboard is not displayed. I also tried to set it from Storyboard but it's the same.

    I also noticed that whenever i click on any UITextField the keyboard is never displayed (but no log is shown for the default keyboard)

    I'm using Xcode-Beta 3 anyone faced this issue?

  • r4id4
    r4id4 almost 10 years
    Hey your solutions is not working, BUT i tried to uncheck the iOS Simulator -> Hardware -> Keyboard -> Connect Hardware Keyboard , now the keyboard is shown even thought i am not able to type from my mac keyboard and the warning is still present in the logs
  • Erik Bean
    Erik Bean almost 10 years
    Sorry I've taken so long to reply, I've been trying to debug my own app. Whats happening is your textfields are telling your keyboard the text is a negative size. You need to either change the text size to a .xxx or resize your textfield bigger.
  • r4id4
    r4id4 almost 10 years
    But I simply crtl-dragged the UITextField from the panel to my storyboard, nothing else. Is it a bug of Xcode-Beta 3?
  • Erik Bean
    Erik Bean almost 10 years
    Try replacing the text box with a new one. I had this same problem which is how I found yours. It was caused by my text box being smaller then default. It IS possible though. Check the developer forums!
  • r4id4
    r4id4 almost 10 years
    Yes I posted the same method in a comment of another post, in this way the keyboard is shown but the warning log still stays.
  • Bidstrup
    Bidstrup almost 10 years
    I have same issue.. it works if you set the Keyboard Type to default. Not the decimal or Number pad.. very strange
  • pkamb
    pkamb over 9 years
    If you uncheck this, though, it appears that you can no longer type using your Mac's keyboard?
  • Erik Bean
    Erik Bean over 9 years
    It seams this is mostly a beta bug, as if you run this on a non beta version it doesn't have the issue. It can easily be ignored as long as it does not affect usability.
  • Thiyanesh
    Thiyanesh over 9 years
    selecting iOS Simulator -> Hardware -> Keyboard -> Toggle Software Keyboard enabled Mac's Keyboard
  • JLundell
    JLundell over 9 years
    I'm seeing it on a physical device (iPhone 5) running the Xcode 6 & iOS GM.
  • Daniel Wood
    Daniel Wood over 9 years
    I am also getting this on an iPhone 6 with the latest Xcode from the App Store.
  • Tiago Lira
    Tiago Lira over 9 years
    As someone said in another thread, you can now use cmd+K to switch between the simulator and mac keyboards.
  • ArdenDev
    ArdenDev over 9 years
    The keyboard shows but the warning is still there even with the official version of xcode
  • DShah
    DShah over 9 years
    Still exist in Xcode 6.1. I am running in iPhone 5 device
  • shim
    shim over 9 years
    For me, in 6.1 I have Connect Hardware Keyboard unchecked, and the decimal pad displays fine, but I get this error message every time a text field becomes first responder.
  • Danyal Aytekin
    Danyal Aytekin almost 9 years
    Happens even when this is unchecked.
  • shreddish
    shreddish over 8 years
    any fix for this?? getting it on phone5s running Xcode 6.4
  • Nuno Gonçalves
    Nuno Gonçalves over 8 years
    I'm having this problem, and even with sizeToFit I get the same warning.
  • Loebre
    Loebre over 8 years
    Xcode 7.1 - the same , it doesn't look like they are going to do anything about it.
  • iCaramba
    iCaramba over 8 years
    Xcode 7.1.1 the same, do we add a comment every version? :D
  • AmitaiB
    AmitaiB over 8 years
    I'd need to see your code to see if I have any insight, since this error can be caused by any number of things going wrong. [Sorta like entropy, or Tolstoy's bon mot about dysfunctional home life: “All happy families are alike; each unhappy family is unhappy in its own way.”] Can you post it?
  • DarkLeafyGreen
    DarkLeafyGreen over 8 years
    Still same problem :D
  • Jasper
    Jasper about 8 years
    XCode 7.3 iPhone 6 iOS 9.3, still there
  • Nitesh Borad
    Nitesh Borad over 7 years
    XCode 8.0 iPhone 4s iOS 8.4.1 and it's still there.
  • Tj3n
    Tj3n over 7 years
    what about physical device???? it's not simulator and all answer are for simulator
  • Siddharth
    Siddharth about 7 years
    The key board is visible, but I am unable to type using my mac keyboard.. have to use the mouse.. just to crazy
  • Neph
    Neph almost 5 years
    Xcode 10.2.1 with iOS 12 (emulator) and the message is logged when I click on a "Decimal Pad" InputField (doesn't happen with a "Default" one). Checking "Connect Hardware Keyboard" simply disabled my hardware keyboard for InputFields (had to click it again to bring it back) but it didn't get rid of the message.
  • Philip Borbon
    Philip Borbon over 3 years
    Still true to this day. "Looks like its a bug with the new Xcode."