Magic key for IB palettes?
Magic key for IB palettes?
- Subject: Magic key for IB palettes?
- From: Scott Ellsworth <email@hidden>
- Date: Tue, 14 Mar 2006 13:13:08 -0800
Hi, all.
I have a framework that is designed to be embedded in the app bundle,
thus the framework path is @executable_path/../Frameworks This works
great for the app, but I also have a palette that wants to use this
class. If I use a framework path of Library/Frameworks, IB does find
it, but I want this framework to be embedded in my app bundle.
Is there a similar magic variable that I can set in the palette
Info.plist that will tell IB where the framework is? I tried adding /
Users/work/Documents/coding/cocoa-heads/logicpuzzlehelper/build/Debug
to the FRAMEWORK_SEARCH_PATHS, but that did not help.
The error:
2006-03-14 13:10:19.085 Interface Builder[12505] *** -[NSBundle
load]: Error loading code /Users/work/Documents/coding/cocoa-heads/
logicpuzzlehelper/build/Debug/LogicPuzzleHelper.palette/Contents/
MacOS/LogicPuzzleHelper for bundle /Users/work/Documents/coding/cocoa-
heads/logicpuzzlehelper/build/Debug/LogicPuzzleHelper.palette, error
code 4 (link edit error code 4, error number 0 (Library not loaded:
@executable_path/../Frameworks/LogicPuzzleHelperFramework.framework/
Versions/A/LogicPuzzleHelperFramework
Referenced from: /Users/work/Documents/coding/cocoa-heads/
logicpuzzlehelper/build/Debug/LogicPuzzleHelper.palette/Contents/
MacOS/LogicPuzzleHelper
Reason: image not found))
2006-03-14 13:10:19.085 Interface Builder[12505] unable to find class
LogicPuzzleHelperPalette
Which tells me that @executable_path is not being resolved as I would
like it to be.
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden