• 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
Frameworks within Frameworks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Frameworks within Frameworks


  • Subject: Frameworks within Frameworks
  • From: Jason McInnes <email@hidden>
  • Date: Wed, 24 Dec 2003 23:14:58 -0800 (PST)

Help!

I'm building a Framework K that uses another Framework
X that uses another Framework Y.

When I try to compile Framework K I get the following
error message:

can't open dynamic
library:@executable_path/../Frameworks/Y.framework/Versions/A/Y

Here's my setup:

The installation path for both Frameworks X and Y is
set to:
@exectuable_path/../Frameworks

Framework X has a copy files build phase that copies
Framework Y into X's Frameworks directory.

Framework K has a copy files build phase that copies
Framework X into K's Framework directory.

Framework K does NOT have a copy files build phase
that copies Framework Y into K's Framework directory.

I confirmed that the buid for Framework X does contain
Framework Y.

I thought that by having Framework X incorporate
Framework Y I wouldn't have to bring Framework Y into
Framework K - I'd only have to bring Framework X into
Framework K.

Unfortunately, when I compile I get the error above.
If I copy Framework Y directly into Framework K I
don't get the error. But If I have several layers of
Frameworks, I don't want to have to include all
decendant Frameworks at each level...

I'm sure I don't have to...So can anyone discern what
I'm missing? This is the first time I've attempted
something with frameworks so I'm sure I'm missing
something very basic...

Jason


=====
Jason McInnes
2 Degrees
Cell: 206.849.3680
Email: email@hidden

__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Frameworks within Frameworks
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Distinguishing clicks on NSSegmentedControl segments
  • Next by Date: Re: Distinguishing clicks on NSSegmentedControl segments
  • Previous by thread: Re: Distinguishing clicks on NSSegmentedControl segments
  • Next by thread: Re: Frameworks within Frameworks
  • Index(es):
    • Date
    • Thread