Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IB Palette loading problem



Hi all-

Head has been scratched, web has been googled, TFM has been R'ed, and head has been banged on wall. I'm trying to create an IB palette for a custom view class I have created: the project builds properly, but the generated palette file cannot be loaded by IB. Here is the console dump:

2006-02-26 21:55:08.118 Interface Builder[1606] *** -[NSBundle load]: Error loading code /Users/johnp/Library/Palettes/ PSMTabBarControl.palette/Contents/MacOS/PSMTabBarControl for bundle / Users/johnp/Library/Palettes/PSMTabBarControl.palette, error code 4 (link edit error code 4, error number 0 (Symbol not found: _IBViewPboardType
Referenced from: /Users/johnp/Library/Palettes/ PSMTabBarControl.palette/Contents/MacOS/PSMTabBarControl
Expected in: /System/Library/Frameworks/AppKit.framework/Versions/ C/AppKit
))
2006-02-26 21:55:08.119 Interface Builder[1606] unable to find class PSMTabBarControlPalette


I have class-dump'ed the palette, and verified that the requisite classes are present. I am puzzled by the missing symbol (_IBViewPBoardType); it is not one of mine, but IB's, and I have included InterfaceBuilder.h in all the right places. I do use the following call...

[self associateObject:_customControl ofType:IBViewPboardType withView:repImage];

but that PBoard type seems standard usage in sample code I have seen.

I built a palette successfully from this same project some time ago. This time around I attempted to shortcut the need to distribute and install a framework with the palette by linking to an object file during the build. Everything built fine, but perhaps this is an issue?

If anyone has any insights to share, it would be much appreciated!

John



John Pannell
Positive Spin Media
http://www.positivespinmedia.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.