Reputation: 135
I am trying to make custom keyboard.For simple custom keyboard it is running fine, but while clicking on emoji it is showing below error :
viewServiceDidTerminateWithError:: Error Domain=_UIViewServiceInterfaceErrorDomain Code=3 "(null)" UserInfo={Message=Service Connection Interrupted}
I have also tried running this with Device but still it is showing same error. Do anyone know what is the solution for it?
Upvotes: 2
Views: 2451
Reputation: 13181
Upvotes: 0
Reputation: 41
I encountered same issue like you.
it's because of memory leak on simulator.
and some other reason can be autolayout and ui contraint update didn't sync well with xcode and simulator. Another possible reasons is that. Custom keyboard app have limited time to first launch. so after few second later.if the layout didn't loaded all. it will be crashed.
So though it's not good solution.
But as it's custom keyboard app. After you click to run project on simulator. you can do several time by clicking global keyboard change button. For example. first time. it crash. and Don't stop running. after crash it will return to normal keyboard. Click Global button. and do few times more until your custom keyboard layout loaded.
By doing like this. I solved above issue and can work on debugging and developing custom keyboard app.
Upvotes: 0