The first thing to do is try Cleaning your build folder. Use the keyboard shortcut Shift + Command + K
or use the Xcode menu, Product
then Clean Build Folder
Build the project and see if the problem persists.
same proplem
To display the error list In Xcode, tap on the “Show the issue navigator” button (the triangle on the left as shown by the arrow, or tap on the red error icon (circle with the cross) just to the right of the Build Failed error indicator at the top.
There is two errors so it would be useful to know what they are.