Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

SwapParity -> Unrecognized selector #9

Open
fivecord opened this issue Dec 23, 2012 · 1 comment
Open

SwapParity -> Unrecognized selector #9

fivecord opened this issue Dec 23, 2012 · 1 comment

Comments

@fivecord
Copy link

[__NSCFConstantString swapParity]: unrecognized selector sent to instance 0x120a28
It happens in the file NKDEAN13Barcode.m in the line
[theReturn appendString:[[self _encodeChar:contentString[i]] swapParity]];

I get the error with all EAN- and UPCA-barcode creation...

Does anyone have an idea how to solve it?

@netshade
Copy link
Owner

Can you try adding -ObjC to your "Other Linker Flags" in your project? That method is added via an NSString category in the project, and I believe that it's not being applied due to the lack of the -ObjC flag.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants