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

Author Topic: Mac Support for Xcode13 on M1 architecture  (Read 3870 times)

0 Members and 1 Guest are viewing this topic.

martin.stoufer

  • Newbie
  • *
  • Posts: 3
    • View Profile
Mac Support for Xcode13 on M1 architecture
« on: November 12, 2021, 06:05:03 pm »
What is the timeline to get a .xcframework build variant of the current version? We're moving our CI system to M1 arch for iOS builds and need to support the arm64 arch natively.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10051
    • View Profile
    • development blog
    • Email
Re: Mac Support for Xcode13 on M1 architecture
« Reply #1 on: November 13, 2021, 12:19:58 pm »
I'm not too familiar with xcframework etc.
Some months ago, we added support for M1 to SFML, is there anything the needs to be adapted in the template as well?
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

martin.stoufer

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Mac Support for Xcode13 on M1 architecture
« Reply #2 on: November 15, 2021, 05:56:38 pm »
We are still back on the 1.0.0 version. Let me get one of our devs to pull the new version and test it out.

martin.stoufer

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Mac Support for Xcode13 on M1 architecture
« Reply #3 on: November 15, 2021, 06:10:50 pm »
Some clarification here, were using the FLIPP SDK, and it still has your 1.21.2 version. I think the issue lies with them rolling a new version with your updates.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10051
    • View Profile
    • development blog
    • Email
Re: Mac Support for Xcode13 on M1 architecture
« Reply #4 on: November 15, 2021, 08:25:12 pm »
I have no clue what version number you're referring to here, nor what FLIPP SDK is supposed to be. ;D

The SFML dependencies have been updated to include both x86_64 (Intel) and ARM64 (M1) versions.
Thus if you now build SFML on a M1 machine, it will work and if you need an universal binary, you can compile for both architectures and then combine them.

The .xcframework templates have little to do with the support for M1 in the end.
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

 

anything