Fixed warnings persist after being fixed in Xcode 7.3

Hi all,

I'm clearing the warnings in my projects, and they keep coming back after being fixed. For example, I'll change something like "x++" to "x += 1", and Xcode will still say that there's a warning about "++ will be removed in Swift 3" at that line. I've tried recompiling, cleaning the project, and even quitting and reloading, but the warnings persist. Anyone see this and/or know how to fix it?


EDIT: I should clarify, the warning will be removed in the list of warnings on the left side, but the editor will continue to show the error on that line.

I'm not sure a simple clean does much.


Use Xcode's Product menu, then, with the option key pressed, select 'Clean Build Folder'. Confirm no errors in the navigator and go again.

Fixed warnings persist after being fixed in Xcode 7.3
 
 
Q