Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 7 app crashes when changing calendar privacy

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

like image 749
mark Avatar asked Nov 19 '13 15:11

mark


People also ask

Why does my iPhone apps keep crashing?

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.

Why does my app keep closing?

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.

Why do my apps keep closing on my iPhone 11?

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.


1 Answers

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)

like image 84
jhilgert00 Avatar answered Sep 18 '22 09:09

jhilgert00