Getting "Undefined characters" when trying to use EventKit?

I am trying to use EventKit based on the doco application and SimpleEKDemo, however I am getting the following single error.

What does this error mean and what steps will be recommended for troubleshooting (the first time I had such a binding error, and I got a little lost - I analyzed my code compared to the sample code, and I can "no obvious differences).

Undefined symbols: "_OBJC_CLASS_$_EKEventStore", referenced from: objc-class-ref-to-EKEventStore in AppointmentListController.o ld: symbol(s) not found collect2: ld returned 1 exit status 

Please note that in the header file from the controller I use the event set code that I have:

 #import <EventKit/EventKit.h> #import <EventKitUI/EventKitUI.h> 
+7
source share
2 answers

Make sure you add EventKit and EventKitUI frameworks to communicate with your goal?

+12
source

You may have forgotten some things below.

  • add eventKitFramwork to your project
  • Import this structure into your #import file
0
source

All Articles