The iPhone 15 has USB-C, a move largely due to impending legislation in the European Union requiring smartphones and other...
After USB-C win, EU tells Tim Cook that Apple must 'open up its gates to competitors'.::The iPhone 15 has USB-C, a move largely due to impending legislation in the European Union requiring smartphones and other...
Also how about not forcing everybody to use Apple hardware to compile their apps? How about allowing xcode competititors and running on different hardware? Allowing to emulate macos/ios?
Fuck apple.
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.
Xcode is such hot garbage, the UX Is what you get when you like pretty and hate your programmer. (Honestly I hate most of Apple's UX.)
Also I compiled a C# app for osx-x64 yesterday on Linux (that works, though I have no idea of I could sign it properly to avoid Apple's annoying side load interference), though maybe it included a binary originally compiled by Microsoft on Apple hardware.