• 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
Magic key for IB palettes?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Magic key for IB palettes?
      • From: Ryan Britton <email@hidden>
  • Prev by Date: Re: How to find the insertion point of NSTextView
  • Next by Date: Using a private embedded framework in an IBPalette
  • Previous by thread: Re: How to find the insertion point of NSTextView
  • Next by thread: Re: Magic key for IB palettes?
  • Index(es):
    • Date
    • Thread