I’m using json-framework to parse json, but when I compile I get the following errors:
xxx/SBJsonStreamParser.h
xxx/SBJsonStreamParser.h:105: error: expected a property attribute before ‘unsafe_unretained’
xxx.h:106: error: expected a property attribute before ‘strong’
etc….
Developer Information:
Version: 4.2 (4D199)
Location: /Developer
Applications:
Xcode: 4.2 (828)
Instruments: 4.2 (4233)
Dashcode: 3.0.2 (336)
SDKs:
Mac OS X:
10.6: (10K549)
10.7: (11C63)
iPhone OS:
5.0: (9A334)
iPhone Simulator:
4.3: (8H7)
5.0: (9A334)
Check in your Build Settings/Build Options the compiler: Use the default Apple LLVM compiler 3.0 instead of LLVM GCC 4.2.