-1

Currently I am working in iPhone application, Using Storyboard to create JSONParser, Import JSON Library inside the application, then I have add #import JSON/JSON.h inside ViewController.h file, but the error comes in "file not found", and JSON Framework classes error in release because I am using RFC, so how to fix these issues?

Inside JSON Framework classes error found here

JSON Framework classes error

Nimantha
  • 6,405
  • 6
  • 28
  • 69
SampathKumar
  • 2,525
  • 8
  • 47
  • 82
  • Try to [disable ARC](http://stackoverflow.com/questions/6646052/how-can-i-disable-arc-for-a-single-file-in-a-project) for the SBJson-files. – Shelm Sep 07 '12 at 07:35

2 Answers2

1

Your project uses ARC, but the JSON library doesn't. You need to disable ARC for the library files. To find out how, see this question: How can I disable ARC for a single file in a project?, or this one: ios5 ARC what is the compiler flag to exclude a file from ARC?

Community
  • 1
  • 1
Adam
  • 26,549
  • 8
  • 62
  • 79
0

the error you are getting is ARC issue. your project is ARC enabled , but the JSON framework is not using ARC.

you can disable the ARC in your whole project, or use it for single file . see

Community
  • 1
  • 1
janusfidel
  • 8,036
  • 4
  • 30
  • 53