netshade/Cocoa-Touch-Barcodes — Issue #6: [NSCFString swapParity]: unrecognized selector sent to instance 0x1aa38
Author: jewes
Created: 2012-01-29 15:09:25+00:00
State: open

Below is my test code to try out the barcode:
NKDEAN13Barcode *barCode = [[[NKDEAN13Barcode alloc] initWithContent:@"9638507411115" printsCaption:NO] autorelease];
[_barCodeView setImage:[UIImage imageFromBarcode:barCode]];

However, when I run it, I got the following error:

2012-01-29 22:57:34.012 BarCodesManager[2801:b303] -[NSCFString swapParity]: unrecognized selector sent to instance 0x1aa38
2012-01-29 22:57:34.037 BarCodesManager[2801:b303] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[NSCFString swapParity]: unrecognized selector sent to instance 0x1aa38'

I googled about the NSCFString swapParity, but nothing found.

My setup:
XCode 4.1, running the program on iphone 4.3 simulator.