1:解决ARC问题。Build Phases->Compile Sources,双击JSONKit.m,输入:-fno-objc-arc
2:(1)修改JSONKit.m文件第680行:
array->isa = _JKArrayClass;
修改为object_setClass(array, _JKArrayClass);
(2)修改JSONKit.m文件第932行:
dictionary->isa = _JKDictionaryClass;
修改为object_setClass(dictionary, _JKDictionaryClass);
重新编译,错误解决!
转载于:https://blog.51cto.com/yuxunliang/1851975