Skip navigation.
 
mlHow do I add a framework to XCode?
FROM : Daniel Wambold
DATE : Sat Jan 19 17:20:36 2008

Hello. This is an pathetically newbie question, but I am at my wit's 
end. Despite RTM for XCode > Files in Project > Adding Frameworks, I 
cannot convince my app to compile with an added framework (the 
CalendarStore framework). I have chosen, from the XCode menu, Project 
> Add to Project. I have selected (from my /System/Library/Frameworks 

folder) the CalendarStore.Framework. I put the toolbox icon for this 
framework into the Other Frameworks folder in my project. I added the 
code:
#import <CalendarStore/CalendarStore.h>
to the header file for my object. Despite this, it will not compile, 
complaining "error: CalendarStore/CalendarStore.h: No such file or 
directory." (This error is reported in the .m file, immediately after 
I import the .h file.)
I can click on the toolbox icon and view all the header files inside. 
They're all there. The (absolute) path is correct for all the headers 
when I Get Info. What have I missed? Sample Calendar program compile 
fine, though, so it's me, not my system. Thanks in advance! -Dan

Related mailsAuthorDate
mlHow do I add a framework to XCode? Daniel Wambold Jan 19, 17:20
mlRe: How do I add a framework to XCode? Kyle Sluder Jan 19, 17:27
mlRe: How do I add a framework to XCode? arri mafkees Jan 20, 02:29