1

So it's my first time to try and use jsonkit. I've been looking for the past hour and couldn't find any installation instructions so I just tried copying and pasting the files and then adding them into the xcode project and then import them. But when I compile it would throw a dozen errors, which would usually have ARC restrictions on it. One of these errors has this :

JSONKit does not support Objective-C Automatic Reference Counting

With that said, are there any specific instructions I need to follow for this to compile properly? Or maybe point me to the right direction?

Thanks!

gdubs
  • 2,724
  • 9
  • 55
  • 102

1 Answers1

0

This is Happening because here you are mixing the non-arc Code in ARC Code,that's why this error is coming.You can use below idea of mine and it works fine , have used the same in past .

Hey You can Disable ARC for JSON classes by just set a flag in under the Build Phases of App setting.

and the flag is

 -fno-objc-arc

As Below Image depicts the Way how to do this.

See The Below Image...!!! carefully

It would work with charm..!!!!

Kamar Shad
  • 6,089
  • 1
  • 29
  • 56