I am new to Xcode and app programming and developed a small app to get certain calendar events and present them in a NSTableview. The program is working fine in my Xcode simulator. However when I build for running and start the App on my iMac, is is not returning any calendar events. Just runs and ends without any errors. What am I missing here?
Problem was solved by adding [store requestAccessToEntityType:(EKEntityTypeEvent) completion:^(BOOL granted, NSError *error)
after the allocation of the EKEventStore.