I have an app which uses, the Event Kit to sync some events with the iOS calendar. This works fine with one exception. If the app is in the background/suspended and the privacy setting for the calendar are changed (settings > privacy > calendar > my app ) the app crashes. This happens even if the classes which use the EkEventKit haven't been used yet
I have only run it in the iOS simulator so far but Xcode dose not give much useful information only that the app is sent SIGKILL.
Could someone suggest what could be causing this or how I could find out
Low storage space may affect your iPhone's efficiency and cause your apps to keep crashing. To check your current storage situation, go to Settings > General >iPhone Storage to get an overview of which apps are taking up the most space. And if you see any apps you don't use, make sure to remove them.
This usually occurs when your Wi-Fi or cellular data is slow or unstable, causing apps to malfunction. Another reason for Android apps crashing can be a lack of storage space in your device. This can occur when you overload your device's internal memory with heavy apps.
First solution: Perform the Forced Restart on your iPhone 11 If apps crash due to a minor firmware issue or glitch, then you don't have to do anything except the forced restart. It has already been proven to be effective against these problems.
It's actually not a crash, although it appears that way when you are testing on your device through xCode. If you unplug your device and do some further testing, you'll notice that when you return to your app after changing the privacy setting, the app is killed as soon as the privacy setting has changed, and it relaunches when you return to it.
I'm not sure about simulator, but I'm guessing it's the same. (The app I'm developing uses Calendar, so I'm forced to do all of my testing on the device itself)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With