• 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
Including dylib in application .app bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Including dylib in application .app bundle


  • Subject: Including dylib in application .app bundle
  • From: "David \"Pita\" Kopp" <email@hidden>
  • Date: Thu, 22 Jul 2004 15:25:46 -0600

Hey all,

I'm still rather new to XCode, so I'm not sure if this is my issue, or the program's:
My end goal is to include some .dylib's that I made into the .app package that XCode generates for distribution.


Steps so far:
I have compiled the libraries with @executable_path/../Frameworks as the install path
Then, I make the application, and copy the libraries into the .app/Frameworks directory
Try to run it outside of XCode, and nothing happens.
If I run the executable directly, it runs, but it seems to be using the hard-coded paths for the .dylibs
It will not recognize the .dylibs if I simply dump them into the same directory as the executable.


Any hints? I've checked through the archives, and all I basically see are references to "@executable_path" stuff and "it just works". Thanks!

David

--
"It is a rare mind indeed that can render the hitherto non-existent blindingly obvious. The cry 'I could have thought of that' is a very popular and misleading one, for the fact is that they didn't, and a very significant and revealing fact it is too."
- Douglas Adams
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.



  • Follow-Ups:
    • Re: Including dylib in application .app bundle
      • From: Scott Thompson <email@hidden>
  • Prev by Date: Copy phase for just the executable of a bundle
  • Next by Date: Re: Linking Troubles
  • Previous by thread: Copy phase for just the executable of a bundle
  • Next by thread: Re: Including dylib in application .app bundle
  • Index(es):
    • Date
    • Thread