I have been trying to follow the official documentation as well as a wide-range of material on the web to simply compile a “Hello World” program using Xcode 12.
Unfortunately, I run into the issue where the compiler complains it cannot find sdl.h when importing <SDL2/sdl.h>.
I know it’s possible to pull in SDL using home-brew and then compile on the command-line. However, I want to use Xcode so that I can easily bundle SDL as part of the application. Also, since Xcode isn’t beta software – it would be useful to others to update this information in general.
Has anyone had luck with this? I’m not typically a Mac-specific developer so Xcode is a little alien to me. I’m happy to work together if anyone has ideas or suggestions.