Does JSONKit support ARC, or is there a fork that

2019-01-21 14:07发布

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

2条回答
看我几分像从前
2楼-- · 2019-01-21 14:51

You can still use JSONKit in your application with ARC.

I'm using it myself.

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.

Hope it helps

Cheers

查看更多
爷、活的狠高调
3楼-- · 2019-01-21 15:08

I use JSONKit in ARC project with the -fno-objc-arc in the JSONKit.m file in the compile Source settings.

And just some of the posts you linked to in your question already say it works.

查看更多
登录 后发表回答