Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode not refreshing code so errors still display

Tags:

xcode

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.

like image 670
cheesey Avatar asked May 23 '15 00:05

cheesey


1 Answers

Coding without live issues? No thanks!

This problem appeared after renaming my Xcode project and some combination of these steps fixed it for me:

  1. Uncheck / recheck "Show live issues" under File > Project settings > General
  2. Clean build folder (open the Product menu and hold the "option" key)
  3. Delete derived data (How to delete derived data in Xcode 8?)
  4. Restart Xcode
like image 77
Gregor Avatar answered Oct 02 '22 12:10

Gregor