Xcode-iOS template project fails iOS SDK 6.1

I am unable to build SDL2-2.0.4 for ios sumlator using the Xcode-iOS template, or any other method.

OSX 10.7.5
Xcode 4.6
iOS 6.1

Error:
SDL_uikitopenglview.h - ‘OpenGLES/ES3/gl.h’ file not found.

I’ve looked inside the OpenGLES framwork. It only contains ES1 and ES2 folders.
If I change the line to ‘OpenGLES/ES2/gl.h’, it spews all kinds of errors.

Rolling back to SDL2-2.0.3 solves the issue and iOS SDK6.1 works again.

What is the minimum iOS SDK version for SDL2-2.0.4 ?

aquawicket wrote:

What is the minimum iOS SDK version for SDL2-2.0.4 ?

This is just a guess, as I’m unfamiliar with most of SDL/iOS’s OpenGLES implementation, but likely at least the iOS 7 SDK, due to OpenGL ES 3 being included in iOS 7 (as listed at https://en.wikipedia.org/wiki/OpenGL_ES#OpenGL_ES_3.0_2 ).

– David L.

iOS 7, but I highly recommend using the latest available SDK otherwise you might not properly support newer iOS devices and operating system features.

Keep in mind you can use a modern SDK but still deploy your app on devices as old as iOS 5.1.> On Jun 18, 2016, at 10:50 AM, aquawicket wrote:

What is the minimum iOS SDK version for SDL2-2.0.4 ?


SDL mailing list
SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org

Addendum: To put an app on the iOS App Store, you also need to use a recent SDK. The last time I checked it required at least the iOS 8 SDK I believe, but it might require the iOS 9 SDK by now.> On Jun 19, 2016, at 12:47 PM, Alex Szpakowski <@Alex_Szpakowski> wrote:

iOS 7, but I highly recommend using the latest available SDK otherwise you might not properly support newer iOS devices and operating system features.

Keep in mind you can use a modern SDK but still deploy your app on devices as old as iOS 5.1.

On Jun 18, 2016, at 10:50 AM, aquawicket <aquawicket at hotmail.com <mailto:aquawicket at hotmail.com>> wrote:

What is the minimum iOS SDK version for SDL2-2.0.4 ?


SDL mailing list
SDL at lists.libsdl.org <mailto:SDL at lists.libsdl.org>
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org