Breaking News
Home / iOS / iOS Isuses / EKCalendar – That account does not allow calendars to be added or removed

EKCalendar – That account does not allow calendars to be added or removed

Usecase

When I am trying to create a new Calendar programmatically using the EventKit API the following exception occurs:

Calendar Name : Sample NYC Calendar 2012 Error : Error Domain=EKErrorDomain Code=17 “That account does not allow calendars to be added or removed.” UserInfo=0x1f86ba80 {NSLocalizedDescription=That acct does not allow calendars to be added or removed.}

Solution

Basically when the calendar is created a Source need to be specified, This source could be one of these:

[pb_builder]

Check Also

Signing Identities, Missing Private Key, Cannot sign App

Issue Cannot sign the App in XCode, says Missing Private Key. <!

Advertisment ad adsense adlogger