How to invoke ical sync service?

642 Views Asked by At

I have an application that syncs with iCal through the Calendar Store framework. I've noticed that I need to open iCal for the sync service to start and transfer events and tasks added with my application to my ipad and iphone. So.. my question, is there a way to start ical sync service without opening ical?

Thank you, Jose.

1

There are 1 best solutions below

1
Brian M. Criscuolo On

I'm not positive that it will pick up the latest changes made to CalendarStore, but you should be able to trigger iCal's sync client by launching (NSWorkspace would do):

/System/Library/Frameworks/CalendarStore.framework/Resources/iCalExternalSync

This is the sync tool iCal uses to interact with Sync Services.