In my iOS app i used to access calendar with the following method:
EKCalendar* cal = [eventStore calendarWithIdentifier:[calendarIDs objectAtIndex:i]];
permissions are asked to the user via:
eventStore requestAccessToEntityType:EKEntityTypeEvent completion:^(BOOL granted,NSError* error){}
now this works fine on iOS 7, but on iOS 8 i keep getting the following error every time the method calendarWithIdentfier is called:
Error getting shared calendar invitations for entity types 3 from daemon:
Error Domain=EKCADErrorDomain Code=1013
"The operation couldn’t be completed. (EKCADErrorDomain error 1013.)"
I can write\read the calendar with no problem, but i don't understand why this exception is raised. I have tried some method proposed here but none of them seems to working in this case.