title: App crashes when location services set to "On"
body: <p>I have an app that uses the <code>ALAssets</code> framework to access to the users photo library. I wrote some code that detects whether or not the app has permission to access the photo library, and if it doesn't, I display an alert message which tells the user to turn on location services for the app in settings. Problem is, when I go into settings and turn location services on or off for my app, it crashes the app (it doesn't matter what view controller the app is on, even one where ALAssets isn't loaded,it still crashes). </p>
  
  <p>Does anyone know why this is happening, and what I can do to fix this?</p>
  
  <p>UPDATE: here is the crash report, on this line in main:</p>
  
  <pre><code>int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
  </code></pre>
  
  <p>it says Thread 1: signal SIGKILL.</p>