I was trying to convert syntax of old Swift project to new one as per few suggestion on Stack Overflow I tried converting it through Edit > Convert > To latest Synta
Have you tried to do clean with Clean build folder?
The combination keys is:
ALT + SHIFT + COMMAND + K