JSONKit是否支持ARC,或者是否支持ARC? [英] Does JSONKit support ARC, or is there a fork that supports ARC?

查看:187
本文介绍了JSONKit是否支持ARC,或者是否支持ARC?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据这些评论,JSONKit不支持ARC,甚至不支持在ARC环境中使用fobjc-no-arc设置运行:
https://github.com/johnezang/JSONKit/issues/37

According to these comments, JSONKit does not support ARC, and not even running with fobjc-no-arc setting in an ARC environment: https://github.com/johnezang/JSONKit/issues/37

推荐答案

您仍然可以在ARC的应用程序中使用JSONKit。

You can still use JSONKit in your application with ARC.

我自己使用它。

在XCode 5中选择您的项目根目录,在目标下选择您的应用程序,然后选择 BuildPhases 标签。在编译源下双击JSONKit.m并添加以下编译器标志 -fno-objc-arc

Select your project root in XCode 5, under Targets select your application then select the BuildPhases tab. Under Compile Sources double-click JSONKit.m and add the following compiler flags -fno-objc-arc.

希望有所帮助

干杯

这篇关于JSONKit是否支持ARC,或者是否支持ARC?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆