IPhone Custom keyboard won't load on physical device running iOS 8

I have successfully written a custom keyboard for iOS with fast and fully loaded on all iOS simulators (iPhone 5, iPhone 6, iPhone 6Plus). but when i try to test my keyboard on a physical device the keyboard won't load .: |

I am using Xcode 6.0.1 and my iPhone is running iOS 8 (not beta) and I have added my keyboard under Keyboard in the setup.

It's weird that the keyboard loads fine on the simulator, but not on the device itself.

Is there something I am missing?

+3


source to share


2 answers


I figured out, to test your keyboard on a physical device, you need to change the RequestsOpenAccess

Boolean key value in the file Info.plist

to YES.

and Info.plist I mean Info.plist for extending your keyboard without containing an application.



Then after running the app on the physical device, you will have to grant keyboard access in the general and voila keyboard section. :)

+2


source


Some mistakes I made caused my keyboard extension to stop loading.

First, I created an application profile that had rights that did not match the project. I ended up just deleting the profile and creating with automatic settings as I am quite far from testing / submitting.



I also changed the name of the UITextViewController entry and extension storyboards without updating them in the NSExtension principles class in it info.plist.

+1


source







All Articles