Have you tried to delete the Xedode Derived Data directory?
Go to Xcode> Settings β Location . In the "Derived Data" section, you will find the path to the specified directory. Go to this directory, exit Xcode, delete the directory and restart Xcode.
This helped when I had problems completing the code.
source share