I have created a project in Xcode with SDL2.framework and SDL.h. First build was successful but then I got the error:
Did not find header 'SDL.h' in framework 'SDL2'
(loaded from /Users/silmarinor/Library/Developer/Xcode/DerivedData/2D_GameEngine_from_Youtube-azumshzwimbsrrbrcuzbsccudlci/Build/Products/Debug').
The actual path to SDL2.framework is /usr/local/Library/sdl2
and it is added to the Search Paths, Frameworks and Libraries.
How to be able to build the project again without creating new?