1

I have created custom keyboard extension. Its working fine on Simulator. When I run custom keyboard extension in Simulator it works fine and able to change between keyboards.

When I try to run same in Real IOS device. it doesn't work . When I click on Globe icon on keyboard. It freezes for a second and show same keyboard again.

Debugger showing this : Program ended with exit code: 0

Unable to test custom keyboard in my real device.

Any help here ?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
prateek sharma
  • 175
  • 1
  • 16

1 Answers1

1

After going through many posts in stack over flow. I found the solution. Program ended with exit code 0 means no error at all. Its an memory issue. I'm using images and they are near about 111 MB in size. So its crashing due to memory issue.

here is the reference i found : Custom KeyBoard get terminated due to memory pressure in iOS 8

After removing images and just droping 5 images in the build folder. It works and keyboard start working. Simulator takes system memory that's why its not crashing there.

prateek sharma
  • 175
  • 1
  • 16