Hacker News new | ask | show | jobs
by rsync 1664 days ago
Is this really true?

There really isn’t a cross compiling chain that would allow me to build a macOS app on a freebsd system (for instance) ?

3 comments

I've manually done it before (on Linux). Technologically it's not that hard to do, but legally is where it becomes a problem. IIRC the Xcode license (which applies to the iOS SDKs) requires you to use them on Apple branded computers.

I don't know why Apple cares so much about that, especially since they're already collecting their yearly $100 tax from developers on top of the 30% revenue cut. I guess at their size, extracting every last penny is how you get to a trillion dollar valuation?

So unless you have a strong legal defense ready, you should probably just pay Apple.

EDIT: I should clarify that by "it's not that hard to do", I mean that it's easy because someone else already did the hard part :)

https://github.com/tpoechtrager/cctools-port

Cross-compiling is possible, but breaks the Xcode/Apple SDK license terms.

https://github.com/tpoechtrager/osxcross#packaging-the-sdk

https://www.apple.com/legal/sla/docs/xcode.pdf

No. If you want to build things for the Apple ecosystem, you need to use the Apple ecosystem.