Skip to content


Subversion checkout URL

You can clone with
Download ZIP


NSInvalidArgumentException when building w/ Xcode Version 5.0 (5A1412) #402

dmcgloin opened this Issue · 4 comments

3 participants


Project built fine in Xcode 4.6.3

Full error:

appledoc[733:707] -[__NSCFNumber length]: unrecognized selector sent to instance 0x5c7
ERROR: NSInvalidArgumentException: -[__NSCFNumber length]: unrecognized selector sent to instance 0x5c7
appledoc version: 2.2 (build 961)

Going to try some experiments to see if I can find root cause


Quick analysis after building and debugging appledoc from within Xcode:

I am using a plist file to specify my settings, passing the plist file as argument to appledoc.

In my plist file, the "--verbose" property was defined as a Number type (not a String).

The unrecognized selector error was encountered here: [NSScanner scannerWithString:self.verbose] because self.verbose was of type NSNumber instead of NSString.

Changing the plist "--verbose" property type to String resolved the issue.

I'm not sure why the plist parsing is now creating the object as a NSNumber. I did not go that deep.

Actually, I'm still confused why this worked before.


Am abroad at my client site this week, then will be very busy till end of september, so will have to wait till then or someone chimes in with solution....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.