SFML community forums

General => General discussions => Topic started by: The Thinker on September 10, 2015, 04:37:08 pm

Title: iOS Port, news?
Post by: The Thinker on September 10, 2015, 04:37:08 pm
Hi guys,

I really like SFML because C++ is the only language I have studied so far and I was wondering if iOS port is still in development or not supported anymore.

iOS is really important to me (and I do not want to study objective c++ or swift) so please let me know if it's something that will happen or if I have to consider other options out there like SDL.

Thank you in advance and keep up the good job!
Title: Re: iOS Port, news?
Post by: eXpl0it3r on September 10, 2015, 04:49:10 pm
It's still experimental, meaning everything is right there in the repository, but there might be unresolved issues.
Additionally the port is currently unmaintained, so there won't be much progress in the near future.
Title: Re: iOS Port, news?
Post by: Pamper on September 10, 2015, 07:52:18 pm
Ops... It's a very bad new for me. Also I'm waiting to a final/stable version for iOS ...
 :'( :'( :'(
Title: Re: iOS Port, news?
Post by: Jesper Juhl on September 10, 2015, 09:12:54 pm
Ops... It's a very bad new for me. Also I'm waiting to a final/stable version for iOS ...
 :'( :'( :'(
If you need it then why don't you start using it and then pitch in to help fix the bugs you encounter?
Be part of the solution instead of just waiting.
Title: Re: iOS Port, news?
Post by: Gambit on September 11, 2015, 08:26:14 am
Is there a guide yet on how to get started with the experimental mobile ports? I have Android SDK and Android NDK and Android Studio but last time I tried, I had problems even generating the stuff with CMake.
Title: Re: iOS Port, news?
Post by: Jesper Juhl on September 11, 2015, 08:35:20 am
Theres one for Android here: https://github.com/SFML/SFML/wiki/Tutorial%3A-Building-SFML-for-Android
Title: Re: iOS Port, news?
Post by: Gambit on September 11, 2015, 03:02:29 pm
Thanks. I'm a Windows/GUI user myself unfortunately so I might wait until its a little less experimental.
Title: Re: iOS Port, news?
Post by: The Thinker on September 13, 2015, 10:37:08 pm
It's still experimental, meaning everything is right there in the repository, but there might be unresolved issues.
Additionally the port is currently unmaintained, so there won't be much progress in the near future.

Why is  the port unmaintained? :/
I thought iOS (as stated in the main page of the website) was an oncoming feature.
Really bad news for me too :(
Do you reckon iOS support won't happen anymore?
Title: Re: iOS Port, news?
Post by: eXpl0it3r on September 13, 2015, 11:40:25 pm
Because we don't have someone who maintains it.

If you know someone who is experienced in C++ and iOS development and has interest in working on an open source project, let us know! :)

In the meantime you can just use the code and report whatever bugs you run into.
Title: Re: iOS Port, news?
Post by: phoenix4sfml on January 30, 2016, 07:41:07 pm
I have the iOS port working. At least on the OS X simulator for iPhone 4 and iPhone 5.

Ran into linker problems with the weak linkage and the sfmlMain mechanism. That may be a clang specific issue. Not sure. Worked around it for the moment by changing the SFML code to do away with the weak linkage mechanism. Seems like there will be better ways to get it working but at least that's working for me right now.
Title: Re: iOS Port, news?
Post by: Pamper on February 04, 2016, 06:51:30 pm
Great !! Can you provide a mini-tutorial and an example "how to use SFML for iOS"? Thanks!
Title: Re: iOS Port, news?
Post by: krzat on March 12, 2016, 07:09:38 pm
I created podspec for sfml, so it's much easier to add it to the app now:

inhibit_all_warnings!
pod 'sfml', :podspec => 'https://gist.githubusercontent.com/krzat/5653b17c6b733823dea4/raw'

Also attached example project.