views:

21

answers:

1

Hi Everyone,

I took over an iPhone project recently that was developed prior iOS4. I'm wondering if XCode would prompt warnings or errors on compile. It currently succeeds with "No issues" when built so is it safe to assert that it contains no deprecated code? Or is there a setting to be set on XCode to warn on compile for deprecated code?

+1  A: 

There is a setting in Xcode to hide deprecated warnings: Go to Targets -> Your Target -> Get Info -> Build -> Warn About Deprecated Functions. You can check if that setting is on (It's on by default) to make sure you're getting the "deprecated" warnings you want.

Rafael Vega
Thank you! That is exactly what I needed.
Azeworai