How do I add a framework to XCode?
How do I add a framework to XCode?
- Subject: How do I add a framework to XCode?
- From: Daniel Wambold <email@hidden>
- Date: Sat, 19 Jan 2008 11:20:36 -0500
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
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden