The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.


SDL Forum Index
SDL
Simple Directmedia Layer Forums
Xcode-iOS template project fails iOS SDK 6.1
aquawicket


Joined: 05 Feb 2012
Posts: 8
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.
aquawicket


Joined: 05 Feb 2012
Posts: 8
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


Joined: 05 Feb 2012
Posts: 8
What is the minimum iOS SDK version for SDL2-2.0.4 ?
Re: What is the minimum iOS SDK version for SDL2-2.0.4
DLudwig


Joined: 09 Feb 2012
Posts: 179
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.
Xcode-iOS template project fails iOS SDK 6.1
Alex Szpakowski
Guest

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.
Quote:
On Jun 18, 2016, at 10:50 AM, aquawicket wrote:
What is the minimum iOS SDK version for SDL2-2.0.4 ?
_______________________________________________SDL mailinghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Xcode-iOS template project fails iOS SDK 6.1
Alex Szpakowski
Guest

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.
Quote:
On Jun 19, 2016, at 12:47 PM, 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.
Quote:
On Jun 18, 2016, at 10:50 AM, aquawicket wrote:
What is the minimum iOS SDK version for SDL2-2.0.4 ?
_______________________________________________SDL mailinghttp://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org