Apparently you need the linker flag "-ObjC" if you're linking a static lib that has Objective-C categories.