Library not loaded: Main App finds private framework but helpers can't
Library not loaded: Main App finds private framework but helpers can't
- Subject: Library not loaded: Main App finds private framework but helpers can't
- From: Jerry Krinock <email@hidden>
- Date: Mon, 23 Nov 2009 20:48:09 -0800
My app has a Main App and two helpers which all link to a large private framework which does all my heavy lifting. The package looks, in part, as shown below:
Contents
MacOS
MyApp
Helpers
MyApp-Helper1
MyApp-Helper2
Frameworks
Bkmxwork.framework
Versions
A
Bkmxwork
Sparkle.framework
Versions
A
Sparkle
My private "heavy lifting" framework is Bkmxwork. Bkmxwork links to the Sparkle framework.
The 'Installation Directory' in the Sparkle framework target is "@loader_path/../Framework". This is all pretty standard stuff, I believe, except for my 'Helpers' directory. It all worked fine last week when built in Xcode 3.1 . Then I upgraded to Mac OS 10.6 and Xcode 3.2. As expected, a few hours of fussing around was necessary to get everything building again. For example, because I use Sparkle in 10.4 apps, I hard-wired its compiler setting to gcc 4.0.
Well, I just discovered that the two helpers crash on launch:
Dyld Error Message:
Library not loaded: @loader_path/../Frameworks/Sparkle.framework/Versions/A/Sparkle
Referenced from: /Users/jk/Documents/Programming/Builds/Debug/MyApp.app/Contents/Helpers/../Frameworks/Bkmxwork.framework/Versions/A/Bkmxwork
Reason: image not found
It looks to me like that Sparkle framework is right where that message says it can't be found. The main app finds and runs its code with no problem. Why might my helpers not be able to find it any more?
Thanks,
Jerry Krinock _______________________________________________
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