7

XCode keeps glitching out on me and listing errors in files that have long since been fixed or deleted.

How can I clear all the errors and get it to start from fresh?

1 Answer 1

8

XCode 10.3. On the menu: Product -> Clean Build Folder

5
  • 1
    lol. Thank you. I'm no longer working on the project, so if anyone else can confirm this works, let me know and I'll mark the answer as accepted.
    – Seph Reed
    Aug 16, 2019 at 15:36
  • 1
    Yeah, it totally works. Thanks for saving my sanity from an annoying stuck build error.
    – Othyn
    Jan 27, 2020 at 19:21
  • 1
    Just cleaning didn't help me. Cleaning and restarting XCode did.
    – oluckyman
    May 4, 2020 at 8:42
  • I also had to turn off "Show live issues" -- Xcode -> Preferences -> General -> Show live issues
    – glitchyme
    Feb 9, 2021 at 22:18
  • 1
    So this still issue still occurs on the latest Xcode v14 beta 3. This solution and a subsequent rebuild did the trick for me. Thanks
    – Tim Kane
    Jul 22, 2022 at 4:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.