• 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
Bundles and dylib lookup
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bundles and dylib lookup


  • Subject: Bundles and dylib lookup
  • From: Grant Limberg <email@hidden>
  • Date: Fri, 5 Mar 2010 11:35:10 -0800

My .app packages looks like this:

MyApp.app/
	Contents/
		MacOS/
			MyApp
			libA.dylib
			libB.dylib
			libC.dylib
		PlugIns/
			PlugIn1.bundle/
				...bundle contents
			PlugIn2.bundle/
				...bundle contents

Both PlugIn1.bundle and PlugIn2.bundle are linked against libA.dylib, libB.dylib, and libC.dylib.  The three dylibs have install names of @loader_path/libName.dylib.  The bundles, however, cannot find libA.dylib, libB.dylib, or libC.dylib.  I've tried setting the -bundle_loader flag to link against the main executable, but that didn't help.  Is it possible for the bundles to look up the dylibs from the MacOS folder of the .app package and not have to copy them into the bundle as well?


Grant Limberg

GIF image


email@hidden
http://www.cedrus.com/



 _______________________________________________
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: Bundles and dylib lookup
      • From: Scott Ribe <email@hidden>
    • Re: Bundles and dylib lookup
      • From: Xochitl Lunde <email@hidden>
  • Prev by Date: Re: XCode touches my files!
  • Next by Date: Re: cp from Xcode Shell script target
  • Previous by thread: Re: XCode touches my files!
  • Next by thread: Re: Bundles and dylib lookup
  • Index(es):
    • Date
    • Thread