Search code examples
macoscalendarcontactssandbox

Sandboxed calendar app wants access to contacts?


My sandboxed OSX App (10.9 Mavericks) can create a calendar and events in the Apple calendar. What i currently don't understand, why the app wants additional access to contacts, when the app is started?

I am not using any code that is accessing the contacts. My project does not use the "AddressBook.framework".

Since i have not enabled "Contacts" in the sandbox, i am getting the warning: Sandboxed app can't access address book without proper entitlements.

I wonder if it is related to the Birthdays calendar.


Solution

  • i would like to share an official response from Apples tech support. It's a bug:

    EventKit directly accesses AddressBook in its implementation. You are getting this warning because your app, which is sandboxed, does not have a Contact entitlement that is required for accessing AddressBook. Note that this warning does not prevent you from carrying EventKit operations and this issue is currently being investigated. Please note that this is a known issue that is being investigated.