Project Setup in Xcode

I can’t seem to get Xcode to play nice. I read some instructions about creating a project using App instead of command line tool (which I was using before), but I can’t change the language from swift to anything else. What should I do in Xcode for creating a new project? I want to use SDL2 or 3 if you guys recommend that over 2 for a beginner. The weird thing is, the first time I setup a project in Xcode using command line tool as the project template, everything worked fine, windows rendered. Then when I started a new command line project, my windows no longer rendered. Anyway, have had a million different issues, I am debating whether I should just reinstall my OS because Homebrew is a mess. I also added SDL2 into /Library/Frameworks once homebrew installation started to have issues. Sorry for my extreme lack of knowledge. I just want to use Xcode with SDL2 and .cpp files like I did with my first project, but as an app if possible if that is a better practice.

I ended up just downloading GitHub - sridenour/SDL2-MacOS-Sample: Show how to set up Xcode to create a Mac app that uses SDL2 and running it in Xcode and it worked! Big props to @sjr .

1 Like