Build iOS Apps on Linux and Windows

2 years ago (forums.swift.org)

Mega cool!

We should all be taking full advantage of the amazing capabilities of the pocket supercomputers we all carry around with us at all times (even if the companies who make them don't want us to or don't care about us). Anything less would be silly! Now Linux and Windows users (the majority of iPhone users) can do easily do so, and that's great.

To install your own personal homebrew apps without Apple's approval, use AltStore (Windows) or SideStore (Linux):

https://faq.altstore.io/altstore-classic/how-to-install-alts...

https://docs.sidestore.io/docs/installation/linux

  • > To install your own personal homebrew apps without Apple's approval, use AltStore (Windows) or SideStore (Linux)

    It works by signing the build with your personal Apple ID, using Apple servers.

    • True, it's far from ideal, and not entirely without Apple's approval. You need an Apple ID, to accept Apple's EULA (which probably forbids such activities), to accept the risk of your Apple ID being banned [1], to accept the risk of Apple breaking things (intentionally or not), and to continue asking Apple's server for new signatures every week into the foreseeable future.

      Still better than nothing, for those already fully immersed in the Apple ecosystem, with no hope of escape? (I still use and recommend Android, but I have a spare iPad to play around with, so I enjoy seeing stuff like this come out.)

      [1] They recommend using a secondary Apple ID, which eliminates most of the risk: https://swiftpackageindex.com/xtool-org/xtool/1.10.1/documen...

Why does Apple behave like there are no other operating systems or devices in the world? for a long time, even in their keynotes they would compare the new iphones with the last year model, not the flagship androids. and their standards mostly work for themselves, not the rest of the world. for example, most keybindings in Pages are totally different than Word and the rest of the text editing apps (CMD-E is supposed to center things but it doesn't). they created a language (Swift) and kept it closed source for a long time, and then didn't extend support to other OS's. presumably they do this so devs who wanna make iOS apps have to purchase Macs, but quite honestly this is just lazy corporate shenanigans. There are far more important reasons to buy a Mac, and anyone who uses Linux isn't suddenly going to convert to macOS just so they can build iOS apps (they probably have more fundamental issues with non-FOSS software anyway).

  • > Why does Apple behave like there are no other operating systems or devices in the world?

    Because Apple doesn't care. Or, to be more accurate, Apple didn't care while Steve Jobs was still alive. They never cared what the rest of the world was doing - their mission had always been to build the entire user experience from scratch. The software, hardware, everything. Because in their eyes (or at least in Jobs' eyes) the rest of the world was doing it all wrong.

    Ever since Steve Jobs died, the company he built has been slowly taken over by the wrong kinds of people. Apple Intelligence, for example, is not driven by any of the philosophy that Jobs would have used. And Apple software updates have been slowly declining in quality ever since his death.

    My total speculation was that Steve Jobs was autistic and Apple was sort of an autistic revolution. I don't know what Tim Cook is, but he's no Steve Jobs. Apple is slowly devolving into the sort of thinking that is not different and that is a real shame.

    • I think that you’re right that Apple is different, but it’s different so that Apple can control it. I wrote about this recently in another comment:

      https://news.ycombinator.com/context?id=43953751

      The gist of it is this:

      Both Steves worked for Nolan Bushnell, founder of Atari and Chuck E. Cheese. I believe that Jobs was likely inspired by Bushnell to create a tech ecosystem to enable easy creation, monetization, and control. But mostly, I think Jobs and Wozniak created Apple to enable them both to create the kinds of technology they needed and wanted, to get the work done they knew folks were using personal computers for. Personal computers have distinct use cases which make them distinct from mainframes or other systems largely outside the control of individuals, and this appeal to the individual is what differentiates Apple from Google or other computer hardware companies. Apple still actually has tech support, retail stores, and yet the goalposts of the market and consumer expectations have moved. Apple hasn’t kept up with what consumers expect in many ways, and the markets they serve have changed, as Apple is now serving multiple sides of markets that they operate as an intermediary, as opposed to the past where Apple was constrained to being a participant in multiple, sometimes overlapping markets.

      2 replies →

    • > Apple software updates have been slowly declining in quality ever since his dea

      For years I installed all Apple software updates instantly and without reserve. These days I wait for at least the .1 release, after being bitten a few times by bugs and workflow breaking pointless changes.

      > My total speculation was that Steve Jobs was autistic and Apple was sort of an autistic revolution.

      Yes, I assume his abrasiveness was a result of an autistic drive for perfection combined with an autistic difficulty with picking up on social queues. But I’m not sure it’s possible to know this for sure. So many people simply read it as narcissism (which has overlapping external features) I’m not sure everyone can tell the difference (during a social interaction) between a narcissistic lack of concern for others vs an autistic inability to properly read and react to social queues.

      2 replies →

  • In addition to the other answers, when it comes to the Mac they’re not as worried about bringing new people aboard as they are with keeping existing users happy. Keep in mind that some of these users have been on board since the 80s or 90s and so the Apple way of doing things is as natural to them as the Microsoft way of doing things is to the masses. The benefit to suddenly wholeheartedly aping MS all of the sudden is questionable — most Windows users still aren’t going to switch for various reasons (e.g. there’s no Billy’s Bargain Basement $200 Macs or there’s some Windows-only software they need). They’d only be alienating their existing users.

  • > Why does Apple behave like there are no other operating systems or devices in the world?

    Dress for the job you want

  • They are unique because they own they whole widget and provide a whole widget experience. They aren’t worried about the fractional widget market.

  • > for a long time, even in their keynotes they would compare the new iphones with the last year model, not the flagship androids.

    Because it wouldn’t be a fair fight when one platform is three years behind you in performance.

Woah this is very exciting if true! I love Linux and my framework laptop, but have wanted to make simple iOS apps.

That being said, PWA’s are damn capable at this point for basic little apps. I wish more laypeople were aware of the ability to “install” PWA’s. Most non-tech people only think apps come from the iOS App Store.

  • > PWA’s are damn capable at this point for basic little apps. I wish more laypeople were aware of the ability to “install” PWA’s. Most non-tech people only think apps come from the iOS App Store.

    I recently had a conversation with my business partner about our SaaS, he was pushing for us to write a full mobile app for our service and I pushed back and said lets do a PWA instead.

    From a technical perspective, maintaining a PWA is so much easier in my opinion than maintaining a mobile app, even if you end up writing a new codebase specifically for your PWA. Simply not having to go through Apple saves so much time.

    As for education the distribution channel is very different. We advertise our PWA in our website and prompt people to install it in our app if we see that they are running the right browser/device.

    I would say at this point if you have a "business app" that just does regular CRUD stuff and doesn't reach for any mobile API's, a PWA is perfect.

    • There's always some catch to make sure you can't 100% jump to a PWA and skip the native app. At least PWAs can do push notifications finally.

  • Yeah I do really wish PWAs got more attention. But it’s very, very difficult to do that last mile of UI polish that makes the average iOS app gleam by comparison. Fingers crossed we’ll see more browser primitive APIs in that area.

  • The user flow for installing PWAs is so dumb. It’s deliberate I guess. It doesn’t align with the idea of “installing” or even a marketplace. I think the language is something like “add to home” and it’s not clear that it’s anything other than a shortcut to a website.

Awesome! I hope Apple will not get the lawyers out for this project (especially for licensing issues)... but this is promising for the future!

AFAIK the Apple EULA, which you have to agree to before uploading Apps to the App store, requires that you have built the software on Apple Hardware.

IANAL, but if I understand correctly that means, the only conformant way to build on linux would be to you install linux on the Apple hardware.

  • With antitrust regulators (including, to a certain extent, the relatively feckless ones in the USA) breathing down Apple and Google's necks, they might not be able to get away with enforcing that rule for long.