0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

Thread 1: signal SIGTERMって何?

Posted at

はじめに

Xcodeを閉じて次に開くと以下のようなエラーメッセージのようなものが出てくるようになりました。よく見るとエラーの「❌」は表示される訳でもなく、simulatorも動きます。気になって調べてみました。
"Thread 1: signal SIGTERM“
スクリーンショット 2023-06-25 8.52.25.png

原因

コードをsimulatorで動かして、そのままwindowのcloseアイコンを押すと発生するようです。これは、Xcodeがついているのにsimulatorを無理矢理閉じようとしているからのようです。

対策

Windowをいきなりブチっと消すのではなく、Xcode上でストップボタンを押してアプリを停止させてからまた起動すると、メッセージが消えました。
スクリーンショット 2023-06-25 9.02.29.png

0
0
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
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?