Re: IB references from static library
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