Question

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 enter image description here

Était-ce utile?

La solution

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:-these steps

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!

Autres conseils

Try cleaning up your derived data. X-Code sometimes does not clean up build warnings/errors. Open the organizer, Projects, select your project, click on delete behind the derived data. Then do a clean build.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top