Nuking xcode

My notes when you need to nuke xCode

  1. Go to xCode -> file -> Project settings
  2. Click the arrow next to which appears /Users/apple/Library/Developer/Xcode/DerivedData
  3. Select the Derived data and move it to Trash. Terminal: rm -rf ~/Library/Developer/Xcode/DerivedData
  4. Quite the xCode and reopen it.
  5. Clean the project and run again.

Above steps should give you a clean xCode.