• 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
Re: private dylib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: private dylib


  • Subject: Re: private dylib
  • From: Rich Collyer <email@hidden>
  • Date: Tue, 17 Mar 2009 13:00:47 -0700

two paths are listed (neither is the @executable_path/../Frameworks path)

The first is the absolute path CONFIGURATION_BUILD_DIR/libraryname.dylib

The second is the relative path SRCROOT/../../../CONFIGURATION_BUILD_DIR/libraryname.dylib
 
+++++++++++++++++++++++
Rich Collyer - Senior Software Engineer
email@hidden

IronKey - The World's Most Secure Flash Drive
2008 SC Magazine Readers Choice Award Winner
2008 FOSE Best of Show Winner
2007 GCN Labs Reviewers Choice Winner
+++++++++++++++++++++++




On Mar 17, 2009, at 12:48 PM, Fritz Anderson wrote:

On 17 Mar 2009, at 2:37 PM, Rich Collyer wrote:

I am working with a private dylib and have tried what is recommended in both the Apple document "Embedding a Private Framework in Your Application Bundle" and page 217-219 of "Xcode 3 Unleashed", but I continue to have a problem with the application not being able to find the dylib.  It keeps wanting to look for the dylib in the build location (CONFIGURATION_BUILD_DIR) instead of the install path (INSTALL_PATH).

In the Products group in the Groups & Files list, select the dylib and Show in Finder.

Open a terminal window. Type "otool -D " (note trailing space) and drag the dylib file from the Finder into the terminal window. This will put the full path of the file into your command line. Press <return>.

The command will show you the install name of the library. Is it what you expected -- an @executable_path-relative path to the dylib in the private framework directory of your application?

— F

--
Fritz Anderson -- Xcode 3 Unleashed: Now in its second printing -- <http://x3u.manoverboard.org/>


Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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

  • Follow-Ups:
    • Re: private dylib
      • From: Rich Collyer <email@hidden>
References: 
 >private dylib (From: Rich Collyer <email@hidden>)
 >Re: private dylib (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: private dylib
  • Next by Date: dialect specific warnings/WARNING_CFLAGS ?
  • Previous by thread: Re: private dylib
  • Next by thread: Re: private dylib
  • Index(es):
    • Date
    • Thread