This worked for me indexing was getting stuck, which caused compile errors to disappear
https://stackoverflow.com/questions/13831559/xcode-stuck-on-indexing
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: