• 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 my XCode App?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I add a framework to my XCode App?


  • Subject: How do I add a framework to my XCode App?
  • From: Daniel Wambold <email@hidden>
  • Date: Sat, 19 Jan 2008 12:07:31 -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 programs compile fine, though, so it's me, not my system.
It was suggested that I drag the framework into the Target - Link Binaries with Libraries step, but the framework is already there. Even if I delete it and drag it there, the same errors occur. I'm sure this is a dumb oversight on my part. Thanks in advance! -Dan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Prev by Date: Re: Project Find - In Project - loses its file list?
  • Next by Date: Re: How do I add a framework to my XCode App?
  • Previous by thread: Re: AudioQueue.h
  • Next by thread: Re: How do I add a framework to my XCode App?
  • Index(es):
    • Date
    • Thread