Am I the only one, or do others also have an error when doing
#import <EventKit/EventKit.h>
For some reason, this file cannot be found (10.8, XCode 4.4) even if XCode suggests it to me after typing a few letters!
Am I the only one, or do others also have an error when doing
#import <EventKit/EventKit.h>
For some reason, this file cannot be found (10.8, XCode 4.4) even if XCode suggests it to me after typing a few letters!
I tried this in a new project with Xcode 4.4. It worked fine.
Is your project you pinned to the 10.7 SDK? Check your Base SDK setting. It should be set to Latest OS X (OS X 10.8).
This is usually set in the project, but you may be overriding it in your target's settings as well.
Before XCode 4.4, I used to just drag a framework into the framework section of the navigator on the right. That worked and was intuitive. For some reason, it does not work for the EventKit framework (perhaps even all other frameworks). The framework is recognized, but breaks the #include
. If it is done using the method in Adding Framework in Xcode 4, it works fine.