top | item 44011615

(no title)

flax | 9 months ago

Would this theoretically allow a Flutter app developer to build and deploy an ios app from Linux? God, I hope so.

discuss

order

candiddevmike|9 months ago

It technically violates the Apple Developer Agreement AFAIK, but that seems like yet another lawsuit waiting to happen IMO.

ronsor|9 months ago

Apple won't do anything right now as they're certainly afraid the courts* will slap them hard.

*Both US and EU now

petabyt|9 months ago

People have been doing hackintoshes and macos VMs for years... And apple hasn't really done anything. So I doubt this tool will provoke them.

_blk|9 months ago

Yeah weird world. When Gates bundles IE that no one wants it's an abuse of power but when Jobs shoves his apples down your throat just to (try to) publish for their platform it's all OK.. Oh, or was that the lawsuit waiting to happen? ;)

notpushkin|9 months ago

I believe it allows usage on “Apple-branded computers”, so building iOS apps with xtool on Asahi is probably legit.

But yeah, I would probably use this for testing only, and do actual releases from macOS proper.

tgma|9 months ago

IIRC it is only a potential issue if the host machine isn't made by Apple. You can install Linux on a Mac and use this.

IANAL yada yada.

nar001|9 months ago

Does it? You still need to install Xcode for the iOS SDK, so they're not really doing anything wrong?

loic-sharma|9 months ago

This project helps but isn’t enough alone:

1. Dart can’t cross-compile from Linux to iOS yet. You could use Dart’s interpreter instead, but that’d significantly regress performance.

2. Flutter iOS projects use the Xcode project format, you’d need to migrate that to xtool’s project format

3. Flutter hasn’t finished migrating its plugin ecosystem from CocoaPods to SwiftPM - any plugin that hasn’t migrated to SwiftPM yet likely won’t work with xtool.

Cloudef|9 months ago

Afaik its already possible with darling. Nixpkgs also has xcbuild replacement, but not sure if it can handle codesigning.

gman83|9 months ago

Just use something like CodeMagic, I wouldn't risk getting your Apple account banned.