简体   繁体   中英

Using JsonKit in Xcode 5.0

I using Xcode 5.0 and i want to use jsonKit to parser content, but i can't find where to place :

-fno-arc-objc

It will display :

if __has_feature(objc_arc) error JSONKit does not support Objective-C Automatic Reference Counting (ARC) endif

Well, I did add the JSONKit classes (JSONKit.h & JSONKit.h) but in the .m file, I have a lot of warnings & compil's error's. I using refactor to convert to objective-c arc but it seem not OK..

If you want to add the flag to the compiler options you have to go through Project->Build Phases->Compile Sources, and double click on each of the files where you want to put the flag :

在此处输入图片说明 Beware that there is a strange glitch depending on where the settings window is loaded :

Unable to add compiler flag in Xcode 5

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM