• 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
Static Libary which links against Foundation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Static Libary which links against Foundation


  • Subject: Static Libary which links against Foundation
  • From: Christian Ziegler <email@hidden>
  • Date: Sun, 11 Apr 2010 14:07:43 +0200

Hi all!

I have written a dynamic library which uses Foundation and defines an public interface in C. To test this I added a C-Shell-Tool target which includes the public header and uses both C APIs. Everything works fine. Since the future user of this library will have to write a wrapper in a different programming language, 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?

Regards,
Chris
_______________________________________________

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

  • Follow-Ups:
    • Re: Static Libary which links against Foundation
      • From: Jens Alfke <email@hidden>
  • Prev by Date: Re: ObjC question
  • Next by Date: Re: QCRenderer.... how do you do that?: solved
  • Previous by thread: Re: QCRenderer.... how do you do that?: solved
  • Next by thread: Re: Static Libary which links against Foundation
  • Index(es):
    • Date
    • Thread