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


Quoting Jonathan Hess <[email protected]>:


On Apr 4, 2009, at 1:48 PM, [email protected] wrote:

However, when I use it, my xib gets toasted - on next open IB asks what file I'd like to create. I had to restore a prior backup to rescue my xib.

Hey Jon -

Could you describe the failure in a little more detail? Are you running
your plug-in and IB in the debugger? If so, is there an exception being
raise?

Jon Hess



_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to