I have already seen something very similar to your first assertion
failure a couple of times on one of my projects. It was due to having
edited some nib files using IB3. The files became corrupt in some way
to the eyes of IB2 and the Cocoa frameworks in Tiger. Try to save
them again selecting Mac OS X 10.4 as the target OS for the nib in
Interface Builder.
--
João Pavão
On 2007/10/30, at 19:49, Alexander Cohen wrote:
Hi,
I'm building an app on 10.5 but i'm targetting 10.4. The app runs
fine on 10.5. Whenever i try and run it o 10.4, i get a couple of
weird problems and then a crash. Maybe you guys can help me a bit.
The first error is this one and i get it twice: ( this happens
before any awakeFromNib Calls )
*** Assertion failure in -[NSMenu itemAtIndex:], Menus.subproj/
NSMenu.m:713
2007-10-30 15:51:13.323 Design[2669] Exception raised during
posting of notification. Ignored. exception: Invalid parameter
not satisfying: (index >= 0) && (index < (_itemArray ?
CFArrayGetCount((CFArrayRef)_itemArray) : 0))
The next one is an EXC_BAD_ACCESS. The stack in the crash log looks
like this:
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000008