Xcode 11 - Header not found

I really don’t understand what is going here.

I can build and run my code and everything will work… then all of a sudden Xcode stops finding the header files for SDL2… for see mingling no reason I can tell.

I have to clean up my project before every build otherwise it won’t run… just pops up this:

These are my header search paths:

Does anyone know what is going on? There seems to be legacy issues with code signing and Xcode… but I can’t find anyone else with this particular problem…

I solved the problem using home-brew to install the libraries.