Does anyone know what Xcode sends out to kill a running program? I need a handler to do some cleanup before the programs are killed. I already tried SIGINT and SIGTERM, but it does not work.
He sends the SIGKILL Sinal. To make sure that you can open any application in debug mode and check the console when you stop the task.
However, if it kills -9, you cannot capture the signal.
? , , XCode. Xcode, Terminal, .
.
AppDelegate.
AppDelegate