title: EventKit - App freezes when adding an EKEvent with 2 alarms (iOS 5)
body: <p>I have an app that programmatically adds reminders to your iOS device's calendar.</p>
  
  <p>Previous to iOS 5, I could add a calendar item with two alarms thusly:</p>
  
  <pre><code>EKEventStore* eventStore = [[EKEventStore alloc] init];
  EKEvent* event = [EKEvent eventWithEventStore:eventStore];
  // set startDate, endDate, title, location, etc.
  
  [event addAlarm:[EKAlarm alarmWithRelativeOffset:60.0f * -5.0f]]; // 5 min
  [event addAlarm:[EKAlarm alarmWithRelativeOffset:60.0f * -15.0f]]; // 15 min
  
  [event setCalendar:[eventStore defaultCalendarForNewEvents]];
  NSError* error = nil;
  BOOL success = [eventStore saveEvent:event span:EKSpanThisEvent error:&amp;error]; 
  </code></pre>
  
  <p>On iOS 5 this <em>freezes the application</em>.  It does not return with an error - it just never returns.</p>
  
  <p>If I only call addAlarm once, it works as expected.</p>
  
  <p>On iOS 4.2, calling addAlarm twice works just fine.</p>
  
  <p>Am I doing something wrong?</p>