• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: IB Plugin help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IB Plugin help


  • Subject: Re: IB Plugin help
  • From: email@hidden
  • Date: Sat, 04 Apr 2009 20:18:47 -0400

Namaste!

Thank you for your reply.

If I run the plug-in in debug mode, I DO get an assertion failure:

Assertion Message: Two plug-ins (com.JTAENTERPRISESLLC.JTAENTLLCTextLengthLimiter and com.JTAENTERPRISESLLC.JTAENTLLCTextLengthLimiter) both integrate a class description for the class JTAENTLLCTextLengthLimiterFormatter. The primary definition for the class should only come from one plug-in; the other plug-in should be declaring a category. Declaring a category is accomplished by omitting the super class from classdescription file.

Backtrace:
0. Interface Builder 0x00004d29 [IBApplication handleAssertion:inFile:onLine:]
1. InterfaceBuilderKit 0x0038d242 [IBClassDescriber refactorWithActionChangeTypeRefactoringOperation:inDocument:error:]
2. InterfaceBuilderKit 0x002c4033 [IBPlugin didLoad]
3. InterfaceBuilderKit 0x002c389f [IBPluginController loadPluginAtPath:error:]
4. InterfaceBuilderKit 0x002ca5e3 [IBPluginController loadPluginWithIdentifier:error:]
5. InterfaceBuilderKit 0x002ca519 [IBPluginController restorePreviouslyLoadedPluginsFromIdentifiers:]
6. Interface Builder 0x000023db [IBApplication finishLaunching]
7. AppKit 0x950c73a3 [NSApplication run]
8. AppKit 0x950948a4 NSApplicationMain
9. Interface Builder 0x00004eca [IBApplication changeInspectorMode:]
10. ??? 0x3


I don't know how to fix that.  I don't know why it thinks I have two plug-ins.

If I run in release mode, it appears to load up and function EXCEPT upon re-loading a nib. I hadn't been running in debug mode once I got the plug-in actually working correctly, so there's got to be a change I made that caused this (that would be a Homer "doh" moment).

What I mean is, if I put it in a live project by putting the framework in a more public place (like Library/Frameworks), then add it to a project, start IB, go into prefs->plugins and add it there, create a window nib, add a textfield to the window, then add the formatter, fill in the limit value, and save it, then close the nib, re-opening the nib results in IB asking what type of resource I'd like to create.

I also noticed that under required frameworks the ibplugin file is displayed instead of the .framework file. I don't know how to fix that either.

I'll be happy to forward the project to you if you'd like a gander, the file is 2.7mb in size.

Thanks!

Peace, Love, and Light,

/s/ Jon C. Munson II


Quoting Jonathan Hess <email@hidden>:


On Apr 4, 2009, at 1:48 PM, email@hidden 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@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


References: 
 >RE:IB Plugin help (From: email@hidden)
 >Re: IB Plugin help (From: Ricky Sharp <email@hidden>)
 >Re: IB Plugin help (From: email@hidden)
 >Re: IB Plugin help (From: Ricky Sharp <email@hidden>)
 >Re: IB Plugin help (From: email@hidden)
 >Re: IB Plugin help (From: email@hidden)
 >Re: IB Plugin help (From: email@hidden)
 >Re: IB Plugin help (From: Jonathan Hess <email@hidden>)

  • Prev by Date: Re: IB Plugin help
  • Next by Date: Re: IB Plugin help
  • Previous by thread: Re: IB Plugin help
  • Next by thread: Re: IB Plugin help
  • Index(es):
    • Date
    • Thread