• 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
How do I link with copied libs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How do I link with copied libs?


  • Subject: How do I link with copied libs?
  • From: David Springer <email@hidden>
  • Date: Mon, 22 Dec 2008 13:21:50 -0700

Folks,

I have a set of 3rd party dylibs to link against.  But, before I link against them I need to do install_name_tool.  So here is how I have all that set up:

1. Create an aggregate target called "Copy dylibs" that copies the dylibs from the distro to ${BUILT_PRODUCTS_DIR}/dylibs.
2. In that target, I have run script phase that does the install_name_tool.
3. In my main framework target, I link against the modified 3rd party dylibs.  I do this by adding the modified dylibs as products, then dragging them into the Link phase of my main target.

Problem: How to I get it so my Deployment config to link against release 3rd party dylibs, but the Development config links against debug dylibs?

Thanks!
- Dave.S

--
http://go/OnlyCheckEmailTwiceADay - join the movement


 _______________________________________________
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

  • Prev by Date: Re: Newbie Question - #include scope -- Thanks!
  • Next by Date: Re: stdout redirect in xcode and not
  • Previous by thread: Re: Dumb question about Java
  • Next by thread: re: How do I link with copied libs?
  • Index(es):
    • Date
    • Thread