this post was submitted on 27 Sep 2023
587 points (97.9% liked)

Technology

59197 readers
3191 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
 

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...

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 43 points 1 year ago (2 children)

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.

[–] [email protected] 7 points 1 year ago (1 children)

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.

[–] [email protected] 6 points 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.

[–] [email protected] 1 points 1 year ago

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.