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…

  • uis@lemmy.world
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    3
    ·
    1 year ago

    Also 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
      link
      fedilink
      English
      arrow-up
      6
      ·
      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.