JSONKit 使用注意
编译出错 提示 ‘isa’ is deprecated
解决办法:
1.搜索 isa Direct Usage of ‘isa’ 改为NO
2.在pod file中添加一下代码
post_install do |installer_representation|
installer_representation.project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['CLANG_WARN_DIRECT_OBJC_ISA_USAGE'] = 'YES'
end
end
end
然后重新运行就可以通过啦