• 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: IB references from static library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB references from static library


  • Subject: Re: IB references from static library
  • From: "Chris Suter" <email@hidden>
  • Date: Mon, 3 Nov 2008 20:16:17 +1100

On Mon, Nov 3, 2008 at 7:35 PM, Quincey Morris
<email@hidden> wrote:

> Just to clarify what question I'm asking:
>
> One issue would be *either* dead code stripping (the IB reference keeps the
> class definition alive in the main project but not in the included static
> library) *or* IB incorrectly compiling the XIB file (when the class
> definition is in a static library). Or something else.
>
> The other issue would be IB failing to find the static library's header
> files, although I added their containing directory to the header file search
> path in the target build settings (and Xcode itself can find the header
> files when building the main project). Or something else.

Not sure if this is your problem, but have a look at the -ObjC linker
flag: it forces the linker to include Objective-C stuff from static
libraries (that it would otherwise leave out thinking it's unused).

-- Chris
 _______________________________________________
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: IB references from static library
      • From: Quincey Morris <email@hidden>
References: 
 >IB references from static library (From: Quincey Morris <email@hidden>)
 >Re: IB references from static library (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: IB references from static library
  • Next by Date: Re: Xcode fails to authenticate with Subversion 1.5
  • Previous by thread: Re: IB references from static library
  • Next by thread: Re: IB references from static library
  • Index(es):
    • Date
    • Thread