by naikrovek · 8y ago · 0 comments
Free with the purchase of Apple hardware. Not exactly "free," is it?
VS Code works on Mac, Linux, and Windows.
Correct. And Apple artificially requires that you have a Mac to develop software for Mac or iOS.
Not even Microsoft does that. I can compile for Windows on any platform.
Xcode was designed for writing Mac apps, why would anyone want to write Mac apps on a PC, when they'd need a Mac to test them anyway?
It's only after the iPhone that the question of a port to other platforms has arisen. But that would be a huge task equivalent to a full rewrite. Even Apple doesn't have the resources to pull that off smoothly.
There are many reasons. I was going to list a few, but ehh. If you want to know you can probably ask Google or StackOverflow.