'SDL_image.h' file not found!

Please help me! As the picture. I used SDL image on MacOS. Xcode told me this header file counld not be found even though I had imported the SDL image library!

Looking forward your reply!


You have to use angle brackets for headers that are in frameworks, and prefix the framework name, so

#include <SDL2/SDL.h>
#include <SDL2_image/SDL_image.h>