• 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
Why frameworks not passed to ld as -framework argument ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why frameworks not passed to ld as -framework argument ?


  • Subject: Why frameworks not passed to ld as -framework argument ?
  • From: Jerry Krinock <email@hidden>
  • Date: Wed, 22 Aug 2007 16:05:32 -0700

First of all, thanks to Chris and Kyle, I've re-factored two frameworks out of my project:
FrameworkT (to be loaded in Tiger only)
FrameworkC (stuff needed by both FrameworkT and main app -- oh, well!)


But now I'm sidetracked onto a new problem. FrameworkT fails linking, unable to find symbols from FrameworkC or FrameworkS (another framework). In the gui of the project for FrameworkT, I have among "Groups & Files":

External Frameworks and Libraries
   Linked Frameworks
      Cocoa.framework
      FrameworkC.framework
      FrameworkS.framework

So, in the Build transcript, among the arguments to ld, I expect to see:

   -framework Cocoa  -framework FrameworkC  -framework FrameworkS

But I see only:

   -framework Cocoa

So, of course that's why ld can't find their symbols.

What could cause Xcode to ignore an included framework from the gui when preparing arguments for ld???

Jerry

More details: I've compared Build Settings very carefully but can't find anything different between this project and the working one. Both FrameworkC.framework and FrameworkS.framework have been built and are in the "Framework Search Paths". FrameworkS is another home- made framework I've been using for many months. They are included in source files with incantations such as:

#import "FrameorkC/SomeHeader.h"
#import "FrameworkS/SomeOtherHeader.h"

and there is no problem in compiling, so I know Xcode can find them OK.

Here's a screenshot of the actual "Groups & Files" gui setup:

http://sheepsystems.com/engineering/Xcode.png

Actual names are:
   FrameworkT = BookTiger
   FrameworkC = BmStuff
   FrameworkS = SSApp

_______________________________________________
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: Why frameworks not passed to ld as -framework argument ?
      • From: Chris Suter <email@hidden>
  • Prev by Date: Guidelines for talking about Xcode 2.5 on this list
  • Next by Date: Re: Guidelines for talking about Xcode 2.5 on this list
  • Previous by thread: Re: Guidelines for talking about Xcode 2.5 on this list
  • Next by thread: Re: Why frameworks not passed to ld as -framework argument ?
  • Index(es):
    • Date
    • Thread