Re: Problem loading IB plugin
Re: Problem loading IB plugin
- Subject: Re: Problem loading IB plugin
- From: Rick Hoge <email@hidden>
- Date: Wed, 21 Nov 2007 08:01:55 -0500
[...]
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?)
No idea; I don't get that warning here. I'm using Xcode 3.0 on an
Intel Mac.
I just downloaded your sample and don't get the warning.
[...]
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?
The IBPlugin itself needs to live inside the built framework (in the
Resources folder). When choosing the plugin via IB's preferences,
you'll be selecting the top-level folder of the framework. Note
that it is possible to reverse this (i.e. IBPlugin lives on the
"outside" with dependent framework contained within; Rainer B. has
done this).
This is how the template does it - I notice that IB's file open sheet
for adding a plugin does not allow you to look inside frameworks. I
have been selecting the plugin inside the framework by navigating via
the Finder into the framework and dragging the plugin into the IB file
selection sheet. Maybe this is a clue? I feel like I must be mis-
interpreting something.
Also, have you tried out my sample code? I believe I posted to both
cocoa-dev and this list. Link is:
<http://www.instantinteractive.com/private/samplecode/MyIBPlugin.zip>
I found this from an earlier post, and had the same problem. Also re-
downloaded from the current link and the same thing happened. Build
and Run works fine - IB launches and shows the new UI elements.
However launching IB solo and selecting
IB Menu Bar: Preferences > Plugins > + > drag plugin into sheet > OK
gives the same alert panel. I built your sample code with no mods,
(Release build).
Thanks,
Rick
--
Rick Sharp
Instant Interactive(tm)
_______________________________________________
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