Error installing iPad keyboard

I am trying to install a keyboard for iPad. The keyboard downloads and installs fine for the android, but it fails on iPad with the message “Keyboard Download Error: *** -[___NSArrayM ObjectAtIndex:]: index 0 beyond bounds of empty array”. Can you please help?


The download link I use is keyman://localhost/open?url=http://www.viduhuru.com/keyman/ctb-1.0.json

I didn’t run into this issue when installing Keyman from the App Store. You may wanna try again via App Store.

Please ignore my previous reply to the post because it’s remotely related to your case. Marc will give you a hand with this.

Makara

We were able to reproduce the problem here. It looks like your JSON file is missing a language entry. I would agree that the error message given is ambiguous!

You should update the JSON file to add a language as follows:

{
  "options" : {
    "device" : "any",
    "keyboardBaseUri" : "http://www.viduhuru.com/keyman/",
    "fontBaseUri" : "http://www.viduhuru.com/keyman/"
  },
  "keyboard" : {
    "id" : "ctb",
    "name" : "Sinhala Keyboard",
    "filename" : "ctb-1.0.js",
    "version" : "1.0",
    "lastModified" : "2017-06-09T15:16:07.600+04:00",
    "languages" : [
        {
          "id":"sin",
          "name":"Sinhala"
        }
      ]
  }
}

Great! resolved my issue, thanks

1 Like