Comment on After USB-C win, EU tells Tim Cook that Apple must 'open up its gates to competitors'.
uis@lemmy.world 1 year agoAlso how about not forcing everybody to use Apple hardware to compile their apps?
It’s a thing? Can’t you just gcc binary into existence?
Fuck apple.
Fuck Putin. Fuck apple too.
paperplane@lemmy.world 1 year ago
In principle you can, the Mach-O format is openly documented and implemented in the major compilers. The issue is that you need a sysroot (aka SDK) of the frameworks and headers for your target OS, which in Apple’s case are proprietary and cannot be redistributed legally (you could probably rip them out of a macOS installation yourself though). For iOS apps you’d also need to sign the binaries and install the app to the device which is non-trivial to impossible to do on other platforms.