Problem loading IB plugin
Problem loading IB plugin
- Subject: Problem loading IB plugin
- From: Rick Hoge <email@hidden>
- Date: Tue, 20 Nov 2007 23:59:07 -0500
I've been experimenting with Interface Builder plugins, and must be
doing something stupid as I keep getting the same error message when
attempting to load a plugin into IB.
As a test, I created a new project from the Xcode 3 template
"Interface Builder 3.x Plugin". I am assuming that, for proof of
concept, this should build and load with no modifications (it just
won't do anything useful).
When I build the template project, I get the compiler warning
"warning: no debug map in executable" for both ppc and i286 arch's
(this is not the source of the problem, but I'd expect unchanged
template code to be warning free - what causes this?)
If I build and run the "All" target, IB is launched with the newly
created plugin and the button in the template is visible in the
objects palette. So far, so good.
If I launch IB in the usual way however, and then open IB Preferences
and try to add the plugin bundle by clicking the + sign, an alert
panel opens with the following message:
The bundle “JUNK” could not be loaded because it is damaged or
missing necessary resources.
Try reinstalling the bundle.
I get this message whether I load the .ibplugin bundle (I believe this
is what you're supposed to do) or the framework. Needless to say if I
add the framework (which contains the bundle in Resources) the plugin
is *not* automatically loaded when launching a nib from that project.
Any idea on what I might be doing wrong?
Thanks!
Rick
_______________________________________________
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