Calling method on category included from iPhone static library causes NSInvalidArgumentException

The only solution that worked was to include:


in other linker flags.

EDIT: Be sure to add this flag to the project including the static library, not to the static library itself.

I know this isn’t the correct method, but it is working for now.

It maybe a OS 3.0 issue since this was the work around for Three20 as well.

Leave a Comment