Remix.run Logo
darthcircuit 16 hours ago

You can run macOS in a docker container. There’s no hardware acceleration for gpu, but works well enough.

You can also try macinabox if you have unraid:

https://hub.docker.com/r/spaceinvaderone/macinabox

It’s probably the easiest way of setting up a Mac VM if you have unraid. I know there are similar options for qemu and kvm based hypervisors. If you have an amd gpu you should be able to pass it through.

hellzbellz123 7 hours ago | parent | next [-]

But you can't distribute whatever you build legally as far as im aware. The apple sdks prevent you from shipping legally.

The only way atm is installing homebrew and using a gnu tool chain if I understand the license of the official sdks correctly?

tomrod 3 hours ago | parent [-]

Tangible thing versus conceptual thing. License never stood a chance.

mherrmann 14 hours ago | parent | prev | next [-]

quickemu [1] is good at running macOS VMs.

1: https://github.com/quickemu-project/quickemu

WildWeazel 13 hours ago | parent | prev | next [-]

My only experience with docker is headless in CI. I do have AMD. I'll have to look into this. Thanks

Cloudef 12 hours ago | parent | prev [-]

Emulating mac or using mac SDKs on non apple devices is against apple's bullshit license though.

freakynit 11 hours ago | parent [-]

BS needs to be countered with rejection.

chongli 5 hours ago | parent [-]

If Apple finds out they’ll ban your developer certificates and then all installed copies of your app will stop working.

Wowfunhappy 5 hours ago | parent [-]

Has this ever happened? Not revoking certificates, which they've certainly done for malware or e.g. iOS "signing services", but because a developer used non-Apple hardware.

chongli 3 hours ago | parent [-]

I don’t know the answer to that but a quick search shows lots of examples of people complaining that their developer certificate has been revoked, demonstrating a willingness by Apple to revoke certificates if they believe the developer violated their terms of service. I doubt Apple would go out of their way to include language in the agreement that binds developers to their own sanctioned platform if they didn’t intend to enforce it.

admax88qqq 2 hours ago | parent [-]

I would wager all of those are distributing malware.

chongli 2 hours ago | parent [-]

I would take that wager. I highly doubt Apple’s revocation team has a 0% false positive rate.