Live data from Hacker News

Building and shipping Mac and iOS apps without opening Xcode

scottwillsey.com

41–50 of 248 posts

Re: Building and shipping Mac and iOS apps without opening Xcode

#41
I've been building and testing my iOS app just for fun via Linux only.

Surprisingly, it's very easy. This works like a charm: https://github.com/xtool-org/xtool

You do not need to upload to TestFlight or the App Store; you can just install the app locally to your iPhone via usb -- even from Linux!

When in doubt, just ask your coding agent of choice to help you create and upload a Hello World iOS app. It's really easy.

Re: Building and shipping Mac and iOS apps without opening Xcode

#42
post #16

By using "Claude Code"* * and giving Anthropic all your secrets, env vars, certificates and your source code to them.

What could go wrong? Might Apple change something across five ecosystems and leave you in the lurch, and now you have to go through all the slop to try to fix it?

Re: Building and shipping Mac and iOS apps without opening Xcode

#43
post #32
post #29

Doesn't that mean you need to distribute the app (TestFlight) before you can preview your app? How do you test locally without the simulators?

For a macOS app you don't need a simulator. For an iPhone app I've seen Claude Code launch the simulator without me needing to open Xcode.

I built an iOS simulator simulator, though only for RN. Runs in browser but covers 100% of the API of RN, iOS UI, and the top 1k native libraries basically now. Been an ongoing agentic experiment of mine that's about ready to release.

Kind of fun, you can develop iOS and Android both without a build step and without a Mac even.

Re: Building and shipping Mac and iOS apps without opening Xcode

#44
Check also Sweetpad CLI. It’s basically wrapper around xcodebuild, but humans and agents. It’s my next project after Sweetpad VSCode extension for developing iOS/Swift applications in VSCode. Cli is still in beta, but I see on my own project that it’s already quite pleasant to use

1. https://sweetpad.hyzyla.dev/

2. https://github.com/sweetpad-dev/sweetpad

Re: Building and shipping Mac and iOS apps without opening Xcode

#47

Earlier quoted context omitted.

holy hell $299/app is wild

One time?! That's amazing.

Per year, but still amazing. I'd like to think of myself who knows what he is doing, but I just launched a Rails-based platform for a client on web, iOS and Android, and had to spend an annoying amount of time in Google Play and App Store Connect. $299 would be a tiny fraction of the billable hours I'd have to spend messing around in there, and that's not counting mobile app dev time at all, so I'm on the lookout for a good candidate project to try Ruby Native on!

Re: Building and shipping Mac and iOS apps without opening Xcode

#49
I've built a few small MacOS dock widgets now by just telling Claude/OpenCode to build them. Works well enough if you're very explicit.

The most useful one is a little weather sparkline to show local temperature forecasts. Useful every day.

Re: Building and shipping Mac and iOS apps without opening Xcode

#50
post #27

This is cool but also makes me worried about the tendency with llms for all of us to make bespoke solutions rather than building a better community tool or extending an existing tool to solve the problem. fastlane exists to solve exactly this problem in the mobile space.

Bespoke solutions are better in many cases. They do exact things required for the project without taking extra dependency. Reducing dependencies is beneficial, because dependencies require management. So with llms economy of taking dependency shifted.

... avoiding this problem: https://xkcd.com/974
Post reply on HN