I was wondering if there is a refresh short cut for refreshing code because there has been many times I'm fixing a "error" and the code doesn't refresh so i don't if i fixed it and the error still remains but the problem is fixed.
Asked
Active
Viewed 2,653 times
2 Answers
15
Coding without live issues? No thanks!
This problem appeared after renaming my Xcode project and some combination of these steps fixed it for me:
- Uncheck / recheck "Show live issues" under File > Project settings > General
- Clean build folder (open the Product menu and hold the "option" key)
- Delete derived data (How to delete derived data in Xcode 8?)
- Restart Xcode

Gregor
- 585
- 8
- 19
-
1Thank you! This should be the accepted answer! Of course I know that **build** will remove the phantom errors but that is not a valid alternative for working live checker what is an important part of almost every modern IDE. – davis Jun 21 '17 at 09:25
4
This is a common occurrence in Xcode.
You can simply press cmd
+b
to build the project. That will remove any errors.
Hope that helps :)

LinusGeffarth
- 27,197
- 29
- 120
- 174
-
2this is workaround; not a solution for live issue checker not working properly. – davis Jun 21 '17 at 09:26
-
Why thanks for the downvote, @davis. The fact that it does not work for you does not mean it doesn't work for everyone. – LinusGeffarth Jun 21 '17 at 10:06
-
@LinusGeffarth it is not about whether your workaround works or not. Look at it this way - does your solution fix the broken live issue checker? – davis Jun 21 '17 at 10:46
-
1