The alerts in my Xcode project doesn't disappear

时间:2017-04-06 16:51:49

标签: ios xcode

I'm working with the Google's Ios SDK, and recently i updated the file that contained the SDK. The problem is that i get these errors saying that the files doesn't exists, but they actually exist and works fine. These are some of the errors (there is about 80 alerts)

enter image description here

So, what can i do? Thanks!

enter image description here

This what i tried for the last error, but the alert doesn't disappear enter image description here

1 个答案:

答案 0 :(得分:2)

If you're using XCode with source control integration ensure you have added those files to the repository. Once you have the files in question added/tracked in git/svn these warnings should disappear.

Also, it never hurts to Command-Option-Shift-K (clean) the project and re-open after you've tracked those files.

See this SO post for possible approaches.