[<NSCFArray> removeObserver:forKeyPath:] is not supported

  • Hi there

    I tried to open a NIB-file from an open source project. But I get this
    error:

    ---
    The document "Main.nib" could not be opened. Der Vorgang konnte nicht
    abgeschlossen werden. (com.apple.InterfaceBuilder-Fehler -1.)
    Check the console log for additional information.
    ---

    The console log:

    ---
    05.11.07 20:12:03 Interface Builder[2135] [<NSCFArray 0x189f2600>
    removeObserver:forKeyPath:] is not supported. Key path:
    appleScriptObjectName
    ---

    I'm using Leopard (with IB 3.0). The developer used Tiger...

    Google didn't help really...

    Any help is appreciated.

    Nils
  • Hey Nils -

    It sounds like you used Interface Builder 2.x and added an instance of
    NSArray to your nib file. As you've noticed, Interface Builder 3.0
    doesn't support unobservable objects in nibs.

    Your best bet here is to remove the NSArray from the nib until IB 3.0
    supports working with unobservable objects inside of nibs.

    Jon Hess

    On Nov 5, 2007, at 11:16 AM, <unc...> wrote:

    > Hi there
    >
    > I tried to open a NIB-file from an open source project. But I get
    > this error:
    >
    > ---
    > The document "Main.nib" could not be opened. Der Vorgang konnte
    > nicht abgeschlossen werden. (com.apple.InterfaceBuilder-Fehler -1.)
    > Check the console log for additional information.
    > ---
    >
    > The console log:
    >
    > ---
    > 05.11.07 20:12:03 Interface Builder[2135] [<NSCFArray 0x189f2600>
    > removeObserver:forKeyPath:] is not supported. Key path:
    > appleScriptObjectName
    > ---
    >
    > I'm using Leopard (with IB 3.0). The developer used Tiger...
    >
    > Google didn't help really...
    >
    > Any help is appreciated.
    >
    > Nils
  • Hi Jon

    Thank you! I'll try to open it on my old iMac with Tiger.

    Nils

    Am 05.11.2007 um 20:49 schrieb Jon Hess:

    > Hey Nils -
    >
    > It sounds like you used Interface Builder 2.x and added an instance
    > of NSArray to your nib file. As you've noticed, Interface Builder
    > 3.0 doesn't support unobservable objects in nibs.
    >
    > Your best bet here is to remove the NSArray from the nib until IB
    > 3.0 supports working with unobservable objects inside of nibs.
    >
    > Jon Hess
    >
    >
    > On Nov 5, 2007, at 11:16 AM, <unc...> wrote:
    >
    >> Hi there
    >>
    >> I tried to open a NIB-file from an open source project. But I get
    >> this error:
    >>
    >> ---
    >> The document "Main.nib" could not be opened. Der Vorgang konnte
    >> nicht abgeschlossen werden. (com.apple.InterfaceBuilder-Fehler -1.)
    >> Check the console log for additional information.
    >> ---
    >>
    >> The console log:
    >>
    >> ---
    >> 05.11.07 20:12:03 Interface Builder[2135] [<NSCFArray 0x189f2600>
    >> removeObserver:forKeyPath:] is not supported. Key path:
    >> appleScriptObjectName
    >> ---
    >>
    >> I'm using Leopard (with IB 3.0). The developer used Tiger...
    >>
    >> Google didn't help really...
    >>
    >> Any help is appreciated.
    >>
    >> Nils
previous month november 2007 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    
Go to today