LoginSignup
4
1

More than 5 years have passed since last update.

iOSカスタムキーボードでデバッガが落ちる

Last updated at Posted at 2018-06-16

iOSでカスタムキーボードを作成しようとしたときにデバッガが'SIGQUIT'して落ちるという事象に出くわしました。

環境

IDE Version
Xcode 9.4
iOS 11.4
動作環境 シミュレーター

原因

原因は不明ですが、Xcode8ごろから同様の事象があるようです。

debugging - Xcode 8 keyboard extension debugger - Stack Overflow

対策

対策1. detach / attachする

  1. 'SIGQUIT'させる
  2. Xcode > debug > detach
  3. Xcode > debug > Attach to Process で目的のアプリにつなぐ

対策2. 実機でやる

なぜかエラーが起きにくいような気がします。

参考

  1. iOSカスタムキーボードの作り方 - Qiita
  2. debugging - Xcode 8 keyboard extension debugger - Stack Overflow
  3. swift - Xcode 9.2 fails to debug custom keyboard extension strangely - Stack Overflow
4
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
1