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

Author Topic: Build for Mac OS from windows 10 machine  (Read 1368 times)

0 Members and 1 Guest are viewing this topic.

antinoid

  • Newbie
  • *
  • Posts: 8
    • View Profile
Build for Mac OS from windows 10 machine
« on: March 30, 2022, 05:08:38 pm »
I'm a Windows 10 user, and I use my pc (again windows 10) but my family all use macs, (I don't own one) but I want to share my projects with them, I'd like to know if there are any resources which allow me to build a project on my windows 10 pc and then send it to a Mac computer and have it work.

I've looked around on the internet for a while but I mostly found things like "How to build sfml from mac" which isn't very helpful, I understand that this might not be possible at all which would be disappointing xD.

Thanks in advance.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11033
    • View Profile
    • development blog
    • Email
Re: Build for Mac OS from windows 10 machine
« Reply #1 on: March 30, 2022, 05:16:42 pm »
Apple doesn't allow this, as it requires every software for macOS to be built on official Apple hardware.

The closest thing you could probably get to is using something like GitHub Actions or similar, which have builds for macOS. Then you need to ensure that the code can be compiled on macOS and hope the produced binary is actually usable on macOS.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/