IB 3.0 Plug-in Installation Directory

  • Hi there.

    I am having difficulty getting an Interface Builder 3.0 Plug-in to work both
    at runtime (embedded in the application's bundle) as well as in IB 3.0itself.

    I suspect this is similar to this issue which refers to Pre-3.0 IB Palettes:

    <http://lists.apple.com/archives/Cocoa-dev/2006/Mar/msg00951.html>

    I've tried installation path of @loader_path/../Frameworks -- this works
    fine in the application bundle, but will not load in IB 3.0.  (Also making
    sure that I am loading the framework in IB out of a Frameworks directory.)

    I get the standard Reason: image not found when IB tries to load the
    framework directly.

    My plug-in is built using the XCode template, which launches IB using the
    -NSOpen argument.  This does load the plugin into IB.  Using this as a work
    around, I have been able to get the plug-in to work in my application.
    However, I'd really like to get an embeddable Framework that IB 3.0 and an
    app can use.

    Is there some sort of interplay between the .ibplugin and the containing
    framework that I might be missing?  (For example, .ibplugin target doesn't
    have an installation directory set in the build options.)

    Can anyone provide any suggestions?

    Jake
  • Jake Bordens ha scritto:
    > <http://lists.apple.com/archives/Cocoa-dev/2006/Mar/msg00951.html>
    >
    > I've tried installation path of @loader_path/../Frameworks -- this works
    > fine in the application bundle, but will not load in IB 3.0.  (Also making
    > sure that I am loading the framework in IB out of a Frameworks directory.)
    >
    > I get the standard Reason: image not found when IB tries to load the
    > framework directly.
    >
    I got the same problem and solved it (temporarily) copying the plugin to
    ~/Library/Frameworks and telling IB to load it from there. If there's a
    better solution, I'd be glad to hear it as well.

    --
    Simone Tellini
    http://tellini.info
  • Simone Tellini ha scritto:

    > Jake Bordens ha scritto:
    >> <http://lists.apple.com/archives/Cocoa-dev/2006/Mar/msg00951.html>
    >>
    >> I've tried installation path of @loader_path/../Frameworks -- this works
    >> fine in the application bundle, but will not load in IB 3.0.  (Also
    >> making
    >> sure that I am loading the framework in IB out of a Frameworks
    >> directory.)
    >>
    >> I get the standard Reason: image not found when IB tries to load the
    >> framework directly.
    >>
    > I got the same problem and solved it (temporarily) copying the plugin
    > to ~/Library/Frameworks and telling IB to load it from there. If
    > there's a better solution, I'd be glad to hear it as well.

    on second thought, the installation path I've used is
    @executable_path/../Frameworks

    --
    Simone Tellini
    http://tellini.info
previous month january 2008 next month
MTWTFSS
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
Go to today