Incompatible SDK for ARC with mac osx 10.10

I am getting annoying warnings for my own purposes after upgrading to osx 10.10 and the latest xcode (I can't remember what really caused it)

eg: Incompatible SDK for ARC in target ApplicationName: macosx

If I change it from 'latest' to '10 .10 'then I get the same error:

Incompatible ARC SDK at target ApplicationName: macosx10.10

Everything works and compiles, but still warns. The code is mixed fast and objective C, with ARC. Has anyone else had this problem?

+3


source to share


2 answers


I had old SDKs (10.5 and 10.6) from previous versions of xcode that I saved in the xcode SDKs directory which seems to be causing this error. I removed them and replaced them with fresh ones downloaded from Apple's website and the error went away.



+2


source


I have the same problem. But I found a solution: In the build settings, turn off the Objective-C Automatic Reference Counting ..



-1


source







All Articles