Greetings,
Yes, SDL2 does run on Apple’s iOS platform; iPhone & iPad.
Yes, you are required to have a mac workstation setup. Technically speaking, this might not be true, but good luck on figuring out all the details! It isn’t worth it. At any rate, no, it isn’t complicated at all to setup on a mac workstation – this is where I feel like Apple excels best at. Mac Mini is definitely a good bet.
Although it is expected that you use Apple’s XCode (IDE) to build the software, it is not strictly necessary, as you can do everything from the command line, if you so desire (using the XCode tool-chain in part). However, if you were to desire the command line approach, I would still suggest getting comfortable with the official route first, as there are several steps that XCode takes care of you that you otherwise must do.
Indeed, I felt much the same when I first ventured into OS X land myself, straight from being a long-time user of various Linux distributions.
I’ve built a prototype CMake build script for SDL2 and iOS [1], and although it is a bit messy, I hope you will find some helpful information in it. The precise build script I used for SDL2, SDL2_image and SDL2_ttf [2].
- GitHub - i8degrees/hello-sdl2-ios-cmake: C++, SDL2, iOS 6.1+, cmake template
- ios-build.sh - Pastebin.com
P.S. A sincere congratulations on having built a game!
Cheers,
Jeffrey Carpenter
<@Jeffrey_Carpenter>On 2014/04/ 10, at 4:03, Timodor wrote:
Does SDL 2.0 Work with Apple/IOS Phones and tablets?
Do I need a mac for it to work? Is it complex to setup?
Totally clues about Mac’s, Only turned one on about year ago, and realized it was Linux/Unix with Copyright Software , like the Microsoft of Unix.
I have a game built on Android, using SDL 2.0 and C++, I want to port it over to IOS. But I’m clueless with Apple.
I though maybe I could use my PC to code for the IOS, seems like no. I might have to buy a cheap Mac Mini.
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org