logoalt Hacker News

Build an iOS app on Linux or Windows

133 pointsby todsacerdotitoday at 1:31 AM38 commentsview on HN

Comments

TheDongtoday at 4:26 AM

You have to accept Apple's licensing agreement as part of downloading XCode to run this tool (which relies on XCode's SDKs etc).

Quoting from the license agreement:

> You may not use the Apple Software, Apple Certificates, or any Services provided hereunder for any purpose not expressly permitted by this Agreement, including any applicable Attachments and Schedules. You agree not to install, use or run the Apple SDKs on any non-Apple-branded computer, and not to install, use or run iOS, iPadOS, macOS, tvOS, visionOS, watchOS, and Provisioning Profiles on or in connection with devices other than Apple-branded products, or to enable others to do so.

Both xtool itself, and anyone who uses it, is violating this license agreement, and apple has shown itself in the past to be a real ass about this sort of thing.

I think this can fly under the radar as long as no one uses it, but as soon as people actually start using this tool in any significant amount, I wouldn't be surprised if apple comes for it.

show 6 replies
Abishek_Muthiantoday at 6:51 AM

I was one of the early mobile app developers and after nearly a decade of wrangling with the tools & environment of the duopoly I got fed up and quit mobile app development.

Recently I picked up Flutter and I really liked it. Apart from the declarative programming, not having to touch Android Studio and Xcode for building the app in Linux was the main contributor for the pleasant experience.

I plan to release the app soon so I’ve already paid the Apple Tax for dev license and hardware but I still dread having to use Xcode; hopefully tools like xtool will help in that regard.

zoobabtoday at 8:25 AM

I use the language of my choice, not those programming languages imposed on us by the GAFAMs.

zombottoday at 5:31 AM

More info about xtool:

https://xtool.sh/documentation/xtool/

This looks damn cool.

lynx97today at 6:25 AM

Please turn on JavaScript in your browser and refresh the page to view its content.

surrTurrtoday at 8:38 AM

has anyone actually published an app using this?

zer0zzztoday at 9:22 AM

Are they using ldprime/ld64 or lld?

sureglymoptoday at 7:16 AM

Can I sideload the app to test/debug it on device without having to log into any online account?

Can I sign the app bundle with my own debug keys?

If no, it's still not interesting to me.

sherdil2022today at 3:20 AM

Looks promising. But I am getting the following error when I run 'xtool dev':

> status: "409", code: "ENTITY_ERROR", title: "There is a problem with the request entity", detail: "You already have a current Development certificate or a pending certificate request."

I have even manually copied the development certificate and installed on the iPhone - but keep getting the same error when I do 'xtool dev'

I have searched but none of the solutions worked so far. Will keep trying.

Did anyone get this error and get past it? Please let me know how you got past this error.

iJohnDoetoday at 4:34 AM

Can someone explain what this?

show 2 replies
malloc-0x90today at 5:23 AM

Never built on Apple, last time I tried:

it asked me to update Xcode;

Xcode asked me to update the OS first;

and the OS asked me to buy a new 1300$€ MacBook hardware (with similar specs, the one I was using wasn't even that old/slow).

So to quote Rick and Morty i though: "That's just subscription with extra steps!" - and made a windows program and an Android app.

show 3 replies