• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
How do I add a framework to XCode?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: How do I add a framework to XCode?
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: Re: Conversion Between path URLs with certain percent escapes not being removed
  • Next by Date: Re: How do I add a framework to XCode?
  • Previous by thread: Re: Substitute a check box or a popup for a field editor in a tableview
  • Next by thread: Re: How do I add a framework to XCode?
  • Index(es):
    • Date
    • Thread