Vulkan Tutorial for Apple M1

Hello this is my first post here I hope you guys can help me.

I’m on a M1 Apple Mac and was trying to do Vulkan Tutorial.
While setting up Xcode I followed what the tutorial said and got it to show a Window.
However when I close the window and try to run the code again I get an error.

The error states as follows:
Cycle inside VulkanTesting; building could produce unreliable results. This usually can be resolved by moving target's Headers build phase before Compile Sources....

I have a feeling there’s a very easy solution but I don’t know what to try anymore. Does anyone know what seems to be the problem?? I find it weird that it works 1 time and then error comes up.