Re: IB Plugin help
Re: IB Plugin help
- Subject: Re: IB Plugin help
- From: Kevin Cathey <email@hidden>
- Date: Sun, 5 Apr 2009 00:40:56 -0500
Hi Jon,
Let's see if we can't get this figured out.
So the current problem you are having is that you cannot deploy an
IBPlugin for use on your system, correct? If so, I have a few questions.
(1) How are you installing the plugin and framework? Are you placing
both them in /Library/Frameworks, with the plugin inside the
framework's resources folder?
(2) What is the bundle identifier for your framework (from the
Properties tab in the target for your framework)? And what is the
identifier for your plugin?
(3) Do you mind sending the output of running the following commands
in Terminal (assuming you are running IB 3.1.2; if you are running
3.1.1, then replace 3.1.2 with 3.1.1, and so forth):
defaults read com.apple.InterfaceBuilder3 IBKnownPluginPaths.3.1.2
defaults read com.apple.InterfaceBuilder3 IBLoadedPluginIdentifiers.
3.1.2
Kevin
--------------------------
Kevin Cathey
Namaste!
Just want to pass on some further information.
After that last post, the assertion error really bothered me. So,
after a while of careful inspection (to the limits of what I know),
I decided to and "clean[ed] all targets" of both the debug and
release builds and re-compiled. In the plug-in project, runs of
both debug and release went smoothly - IB loaded the plug-in, I was
able to use it, close and re-open nibs successfully. No errors.
"Deploying" the plug-in is proving difficult.
I copied the release framework to Library/Frameworks. I also copied
the framework into the frameworks section of a live project. I then
created a test.xib in my live project, which I subsequently opened.
In the Preferences->Plug-ins pane for IB, I attempted to add the
plug-in. I got nothing - no error, nor plug-in.
I then added the ibplugin file to the Resources folder of the
version A of the framework.
I then repeated the process of copying. This time, the plug-in
appeared in IB. I added a textfield to test.xib, and applied the
plug-in to it. I saved and closed the file. Upon re-open, IB
didn't open the xib, but popped up the standard "create a resource"
dialog - test had gotten kaboshed.
I do notice that the Required Frameworks is displaying the .ibplugin
file instead of the expected .framework file. I don't know if that
is related or not.
Again, I'll be happy to send up the project should you want to see it.
Thanks!
Peace, Love, and Light,
/s/ Jon C. Munson II
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden