Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Tutorial: SFML for iOS  (Read 4071 times)

0 Members and 1 Guest are viewing this topic.

KRMisha

  • Newbie
  • *
  • Posts: 15
    • View Profile
Tutorial: SFML for iOS
« on: August 08, 2017, 09:28:11 pm »
I've made a very lengthy and in-depth step by step tutorial on how to build SFML for iOS which should address every single one of the little issues people could have with CMake, SFML, or Xcode when trying to compile for iOS. Hopefully this should attract more people who want to use SFML for mobile development!

Link here: https://github.com/SFML/SFML/wiki/Tutorial:-SFML-for-iOS

-Misha
« Last Edit: August 08, 2017, 09:35:57 pm by KRMisha »

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4328
    • View Profile
    • Email
Re: Tutorial: SFML for iOS
« Reply #1 on: August 09, 2017, 09:33:42 am »
Thanks for that, looks awesome!
SFML / OS X developer

KRMisha

  • Newbie
  • *
  • Posts: 15
    • View Profile
Re: Tutorial: SFML for iOS
« Reply #2 on: August 09, 2017, 02:27:12 pm »
Thanks! One thing that needs to be improved though is figuring out how to compile the libraries for 64-bit iOS. Right now by default the cmake script makes an Xcode project which only compiles the libs for 32-bit, and that's why we need to add $(ARCHS_STANDARD_32_BIT). This works for the simulator, but unfortunately for releasing to the app store Apple requires 64-bit apps. If anyone figures this out please feel free to update the wiki :)

frommar5

  • Newbie
  • *
  • Posts: 1
    • View Profile
    • Email
Re: Tutorial: SFML for iOS
« Reply #3 on: April 27, 2020, 10:18:36 am »
This is probably old news, but posting for the benefit of someone who finds this thread in search later:

It seems the 64-bit problem is already solved - the tutotial now reads:

Under "Architectures", set "Architectures" to "Other..." and edit the value to
- For SFML 2.4.2 and earlier: $(ARCHS_STANDARD_32_BIT)
- For SFML 2.5.0 and later: x86_64 and arm64

 

anything