エラー「Couldn't register [App Identifier]」への対処
実機やシミュレータでiOS Appのデバッグをしようとすると、Appの起動前に次のようなエラーメッセージが出てAppが実行できないことがある。
Couldn't register App Identifier with the bootstrap server. Error: unknown error code.
This generally means that another instance of this process was already running or is hung in the debugger.
これは、前回デバッグしたときにXcodeが強制終了された等の原因により、実機またはMac(シミュレータでAppを実行した場合)に実行中ステータスが残っていることが原因。
実機でこの問題が発生した場合には、実機を再起動することにより問題が解決される。シミュレータでAppを実行していた場合の解決方法としては、次のページが参考になる。
iPhone - strange error when testing on simulator - Stack Overflow