Fraggle
Fraggle

Reputation: 8727

ios keyboard not showing in Settings

After following the steps in here, the custom keyboard section is not shown in the Settings.

One thing that I noticed, is that when setting up the project the "Embed in Application" drop down was set to None and had no other options. Also the directions said to add a Bundle display name row in my plist, but that was already there and had the project/keyboard name there.

I can run the keyboard project and it does ask for me to choose an application (I picked Safari). Then I expected to be able to go to the settings and enable my keyboard, but it is not there.

settings image

Upvotes: 11

Views: 3497

Answers (5)

Awais Mobeen
Awais Mobeen

Reputation: 852

it's just simply solved by adding settings bundle in application add empty settings bundle

Upvotes: 5

Simo
Simo

Reputation: 2202

For me, the only thing that worked was restarting the phone.

I could run the main app target and also debug the keyboard extension in another app, however it wouldn't show up in the list at Settings -> General -> Keyboard -> Keyboards -> Add New Keyboard....

As soon as the phone was restarted, the keyboard extension showed up in the list straight away.

My guess is that adding and removing the keyboard many times has the potential to confuse iOS and result in it thinking that the keyboard had already been added (hence why it doesn't show up in the list).

Upvotes: 4

Stritt
Stritt

Reputation: 547

Make sure the Keyboard Extension Target->General->Deployment Target is not newer than your device's current OS version.

Upvotes: 27

iOS Dev
iOS Dev

Reputation: 4248

You can try the following option, as it helped in my case:

  1. Select your main app target.
  2. Select "Build Phases"
  3. Expand "Embed App Extensions"
  4. Make sure that checkbox for "Copy only when installing" is unchecked
  5. Run your app and check again Settings

enter image description here

Upvotes: 6

Ken Hui
Ken Hui

Reputation: 368

This link may help

http://verisage.us/en/blog/2014/07/17/ios-8-custom-keyboard-swift-tutorial/

In short, you need an dummy app to deploy the keyboard.


Search "To run the custom keyboard and attach the Xcode debugger" in the following link. You will find how to attach the process to debugger.

https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Keyboard.html#//apple_ref/doc/uid/TP40014214-CH16-SW7

Upvotes: -1

Related Questions