Using JSONkit for a project that is ARC enabled, and having issues. I flagged the files appropriately as -fno-objc-arc
and tried a build, but it is still throwing errors like ARC is enabled. Any ideas what I could be missing?
For clarity, I flagged the file in Build Phases->Compile Sources->JSONkit.m
EDIT: screen shot of the errors. These are the same errors I got before adding the flag for the file to be ignored by ARC
You can disable ARC for a specific class using the -fno-objc-arc compiler flag for that class. In Xcode, in the target Build Phases tab, open the Compile Sources group to reveal the source file list. Double-click the file for which you want to set the flag, enter -fno-objc-arc in the pop-up panel, then click Done.
as you mention you have follow these steps already please set compiler flags for JSONkit.m file also -fno-objc-arc
also
if its not working then tried:-
1.you can delete the App directy under ~/Library/Application Support/iPhone Simulator/6.0/Applications and ~/Library/Developer/Xcode/DerivedData
2.then you can start Xcode ; in the menubar you can find Project -> Clean!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With