Your application does not crash, it just restarted iOS with new privacy settings. Therefore, when you change the privacy policy, the application will be killed if it is connected to the debugger, otherwise it will restart or restart.
Note. If the user at some point changes the access rights to the address book, calendars, reminders, camera or photos, iOS will be SIGKILL application. (it does not break the default behavior of iOS)
source share