allocating EKEventStore throws warnings

242 Views Asked by At

When creating EKEventStore object, I do get the following lines in the console:

XXX: countOfStores: 0, countOfAccounts: 0
[change-history] Change history operation performed with no stores
[core] "Exceeded the maximum number of connections (2) to accountsd: 3 connections open. Consider switching to +[ACAccountStore defaultStore]"

The EKEventStore is created only once.

swift:

let eventStore : EKEventStore = EKEventStore()

objc:

_store = [[EKEventStore alloc] init];

Should the logs be ignored? If yes, how to get rid of them? And what does it have to do with switching to ACAccountStore?

0

There are 0 best solutions below