Re: Static Libary which links against Foundation
Re: Static Libary which links against Foundation
- Subject: Re: Static Libary which links against Foundation
- From: Jens Alfke <email@hidden>
- Date: Sun, 11 Apr 2010 10:25:30 -0700
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_______________________________________________
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