Xcode 6: Embedding Third-Party Frameworks

May 11th, 2015

Filed under: SDL, Xcode | Be the first to comment!

Xcode 6 simplifies copying third-party frameworks to your application bundle. In previous versions of Xcode you had to add a Copy Files build phase to your application target to copy third-party frameworks and libraries to your application bundle. Xcode 6 adds an Embedded Binaries section to the target editor that you can use to copy […]

Creating an OpenGL Context in SDL 2

June 18th, 2013

Filed under: OpenGL, SDL | 5 comments

SDL 2.0 has been released, which changes the way you create OpenGL contexts. This post details the changes so you can convert your old SDL/OpenGL code to SDL 2. If you are new to SDL and OpenGL, you should also read my SDL and OpenGL article, as that article covers some topics that aren’t covered […]

Using SDL with Xcode 4

January 9th, 2012

Filed under: SDL, Xcode | 25 comments

Apple changed the format for project templates in Xcode 4. The format change means the Xcode templates that ship with the Mac version of SDL don’t work in Xcode 4. If you have both Xcode 3 and 4 installed on your Mac, you can create a project that uses SDL in Xcode 3 and open […]

SDL OpenGL Typedef Redefinition Error on Mac OS X 10.7

November 7th, 2011

Filed under: Game Development, Mac Development, OpenGL, SDL | 2 comments

If you build a SDL OpenGL application for Mac OS X using SDL 1.2.14 (using the binary installer at the SDL site) and the Mac OS X 10.7 SDK, you can get the following error: typedef redefinition with different types (‘unsigned int’ vs ‘void *’) The SDL header file SDL_opengl.h and the OpenGL header file […]

New Xcode Project for SDL OpenGL Article

August 16th, 2011

Filed under: SDL | Be the first to comment!

I added a link to the sidebar of my SDL OpenGL article that contains a version of the project updated for Xcode 4.1. The original project had several problems building on Xcode 4.1 that persisted after I modernized the project. The updated version of the project works on Xcode 4.1 and uses the Mac OS […]