Re: Interface Builder Plugin Dependency

2009-01-29 Thread Bridger Maxwell
Hey, My plug-in certainly does not need to crop an image while being compiled by IBTool, I have no idea why that function is called, but I can't really debug it. It turns out the solution was really simple though, once I knew where to look. I simply wrapped the call to lockFocus in an @try/@catch.

Re: Interface Builder Plugin Dependency

2009-01-29 Thread Jonathan Hess
Hey Bridger - Does your plug-in and framework really need to create and crop an image while being unarchived and re-archived by ibtool? Perhaps you could retool your class so that the work happens lazily, and doesn't occur durring XIB compilation. As Joey said, ibtool to runs with no wind

Re: Interface Builder Plugin Dependency

2009-01-29 Thread Joey Hagedorn
Bridger, Because ibtool runs from the command line, it is executed without a connection to the window server so it can be run remotely in non- graphical login sessions. This environment might exist, for example, on a build server with nobody logged in at the console. You'll need to find an

Re: Interface Builder Plugin Dependency

2009-01-29 Thread Gary L. Wade
Looks like your plug-in is being running as a tool without a connection to the window server. On 01/29/2009 3:54 PM, "Bridger Maxwell" wrote: > It turns out the error is completely different from what I thought it was > (isn't it always?). It turns out Xcode was omitting part of the output from

Re: Interface Builder Plugin Dependency

2009-01-29 Thread Bridger Maxwell
It turns out the error is completely different from what I thought it was (isn't it always?). It turns out Xcode was omitting part of the output from IBTool. When I tried to compile my xib from Terminal, I got this error: Description: ibtool encountered an error while loading the ibplugin from /Us

Re: Interface Builder Plugin Dependency

2009-01-29 Thread Joey Hagedorn
Bridger, Which version of Interface Builder are you using? Do you have multiple installations of the developer tools on your system? -Joey On Jan 29, 2009, at 10:14 AM, Bridger Maxwell wrote: Hey, I created a custom Interface Builder plug-in, which seemed to work great until I actually

Interface Builder Plugin Dependency

2009-01-29 Thread Bridger Maxwell
Hey, I created a custom Interface Builder plug-in, which seemed to work great until I actually used it in another project. When I place one of my custom controls in MainMenu.xib and try to compile, I get this error: /* com.apple.ibtools.errors */ Internal Error: Description: Unable to resolve pl