Re: Static Libary which links against Foundation
Re: Static Libary which links against Foundation
- Subject: Re: Static Libary which links against Foundation
- From: Christian Ziegler <email@hidden>
- Date: Thu, 15 Apr 2010 10:50:39 +0200
On 11.04.2010, at 19:25, Jens Alfke wrote:
>
> On Apr 11, 2010, at 5:07 AM, Christian Ziegler wrote:
>
>> it makes sense to convert this library to a static library. I did that and stumbled upon the problem that my test app (C-Shell-Toll) now has to link against Foundation. I would like to avoid that since the library should encapsulate everything which is Objective-C. Is that even possible?
>
> Not really. Any binary that contains calls into a framework has to link against that framework. If you include a static library in your app, it becomes part of the app binary, by definition.
>
> There shouldn’t be any problem with having the app link against Foundation.
>
> —Jens
OK thanks!_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden