App works in debugger, won't launch in Finder
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