• 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
Re: I cannot add a (system) framework to a Cocoa Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: I cannot add a (system) framework to a Cocoa Application


  • Subject: Re: I cannot add a (system) framework to a Cocoa Application
  • From: Anders Sommer Lassen <email@hidden>
  • Date: Fri, 11 Jul 2008 22:28:54 +0200

The last 3 days I have had problems adding frameworks. Now suddenly, after reporting this in the forum, I can add the frameworks without problems, and the header files are included also.

??????

But still I have problems compiling my project.

I have added the Quartz framework. I can see that all frameworks beneath it, are added recursively. That's fine.

I now want to use the IKImageView. But this gives problems.

When I compile the following code:

#import <Cocoa/Cocoa.h>
#import <ImageKit/IKImageView.h>

@interface untitled : NSObject {

   IBOutlet IKImageView *imageView;
}

@end

I get an error message saying that the IKImageView.h does not exist.

I then ask myself, how can the Cocoa.h file be found when the IKImageView.h can not.

Do I have to specify search path for the Quartz framework or ....


On Jul 11, 2008, at 8:59 PM, Shawn Erickson wrote:

On Fri, Jul 11, 2008 at 11:44 AM, Anders Sommer Lassen
<email@hidden> wrote:
If I create a new Cocoa Application, and check the Cocoa framework, which is
added by default, the path is:

/System/Library/Frameworks/Cocoa.framework

If I check the Cocoa.framework, I can see it has headers. I guess that these
have been installed automatically by the Xcode Tools installer. I did not do
it manually.

So the question is now, which frameworks should I use:

1) the frameworks in the system path
2) the frameworks in the /Developer/SDKs/MacOSX10.5.sdk path

Always the framework at the system path. Xcode will handle remapping
that as needed based on your SDK setting.

-Shawn

 _______________________________________________
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

  • Follow-Ups:
    • Re: I cannot add a (system) framework to a Cocoa Application
      • From: j o a r <email@hidden>
References: 
 >Re: I cannot add a (system) framework to a Cocoa Application (From: Greg Guerin <email@hidden>)
 >Re: I cannot add a (system) framework to a Cocoa Application (From: Anders Sommer Lassen <email@hidden>)
 >Re: I cannot add a (system) framework to a Cocoa Application (From: Chris Espinosa <email@hidden>)
 >Re: I cannot add a (system) framework to a Cocoa Application (From: Anders Sommer Lassen <email@hidden>)
 >Re: I cannot add a (system) framework to a Cocoa Application (From: "Shawn Erickson" <email@hidden>)

  • Prev by Date: Re: I cannot add a (system) framework to a Cocoa Application
  • Next by Date: Re: I cannot add a (system) framework to a Cocoa Application
  • Previous by thread: Re: I cannot add a (system) framework to a Cocoa Application
  • Next by thread: Re: I cannot add a (system) framework to a Cocoa Application
  • Index(es):
    • Date
    • Thread