title: Application crashes when asking if user wants to use Location Services
body: <p>I have an iPhone app that is using CoreLocation. </p>
  
  <p>Upon first installing the app, the iPhone system message is displayed asking whether or not the user wants to allow location services, if they click yes, my app suddenly displays the first screen of my app (I'm using a navigation controller), and crashes. This is what I see in the log - </p>
  
  <pre><code>warning: UUID mismatch detected with the loaded library - on disk is:
  /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/PrivateFrameworks/CoreTelephony.framework/CoreTelephony
  =uuid-mismatch-with-loaded-file,file="/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS3.0.sdk/System/Library/PrivateFrameworks/CoreTelephony.framework/CoreTelephony"
  Program received signal:  “EXC_BAD_ACCESS”.
  </code></pre>
  
  <p>And the stack trace looks like this
  <img src="https://i7.photobucket.com/albums/y256/bpapa/Picture8.png" alt="alt text"></p>
  
  <p>My code isn't too far off from the LocateMe sample (which works on my device). I have this:</p>
  
  <pre><code>CLLocationManager *clLocationManager = [[CLLocationManager alloc] init];
  clLocationManager.delegate = self;
  
  if (clLocationManager.locationServicesEnabled) {
      [clLocationManager startUpdatingLocation];
  } else {
      self.searchBar.placeholder = @"Enter location";
  }
  </code></pre>
  
  <p>Any idea on waht I'm doing wrong?</p>