• 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
App works in debugger, won't launch in Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

App works in debugger, won't launch in Finder


  • Subject: App works in debugger, won't launch in Finder
  • From: Rick Mann <email@hidden>
  • Date: Fri, 1 Oct 2010 21:52:52 -0700

I have an app that has a framework internally (and some plug-ins). When I launch it from Xcode (debugging), everything works fine. But if I launch it by double-clicking the icon in the Finder, I get the crash dialog with "Library not loaded: foo", where foo is the internal framework.

The path to the library it can't load isn't the one inside the .app package, but rather it's trying to load it from ~/Library:

  Library not loaded: /Users/rmann/Library/Frameworks/TelemetryPlugInFramework.framework/Versions/A/TelemetryPlugInFramework
  Referenced from: /Users/rmann/Projects/Mac/Telemetry/depot/trunk/build/Debug/Telemetry.app/Contents/MacOS/Telemetry

I figure I've failed to set some library search path somewhere, but I'm not sure what it is I'm missing.

Thought? Thanks!

--
Rick

_______________________________________________

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: App works in debugger, won't launch in Finder
      • From: Ken Thomases <email@hidden>
  • Prev by Date: info.plist with DYLD_LIBRARY_PATH = ~/test
  • Next by Date: Coverflow API in Mac OS 10.6
  • Previous by thread: Re: info.plist with DYLD_LIBRARY_PATH = ~/test
  • Next by thread: Re: App works in debugger, won't launch in Finder
  • Index(es):
    • Date
    • Thread