NSInternalInconsistencyException – reason: ‘Could not load NIB in bundle’

Is it ambiguous ? Well at the outset it seems to be. After a swag of updates (iOS 6, Xcode, OSX 10.8.2 ::modem has officially asked for time off now::) I opened an existing client project that was working previously. This project was used during a prototyping session with the client, so why does it … Read more

icon dimensions (0 x 0) don’t meet the size requirements

Welcome to Apple World: Submit – Fail, Submit – Fail, Submit – Fail It certainly was not the first iOS App I had tried to submit, yet here I am, seeing the same ambiguous error: iPhone/iPod Touch: icon.png: icon dimensions (0 x 0) don’t meet the size requirements. The icon file must be 57×57 pixels, … Read more

Sandboxing – writing outside the box

Ok, Apple announced that “as of March, 2012 all apps submitted to the Mac App Store must implement sandboxing”, and since we were preparing the release of our new Set Professional desk top app, it would be a great time to introduce it. Little did I realise that I would spend all afternoon tracking down … Read more

Ambiguous errors: NSInternalInconsistencyException mutating method

Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘*** -[NSCFArray replaceObjectAtIndex:withObject:]: mutating method sent to immutable object’ Ok, so what does it actually mean and why am I getting this on a NSMutableArray…? The error is not so much ‘ambiguous’ as downright misleading. My code clearly shows I am working with a mutable array; NSMutableArray … Read more

Ambiguous errors: oledbconnection DB_SEC_E_AUTH_FAILED

A client rang to say they are having problems with a small program I wrote. It has worked for a few months – no problem, then out of the blue they started receiving an error “DB_SEC_E_AUTH_FAILED”. Initially thoughts were security changes or user permissions, so time was spent looking into server changes. (This was a … Read more