Blog · · 14 min read

From idea to the App Store in about two weeks

How Phosgraphy, a Lightroom-class photo editor for Mac and iPhone, was built with AI

Phosgraphy went live on the App Store this week, for Mac and iPhone, free. It has a RAW editor that renders on the GPU, a photo library that groups RAW and JPEG files into one entry, on-device AI that tags your photos and learns your own labels, account sync, a publishing backend, an end-to-end test suite and a set of demo videos.

The first commit was on 27 October. The App Store submission was on 8 November, and it was approved and released by the 12th.

I didn't write that code. Claude did, in Claude Code, working in a project I set up for Phosgraphy. Every commit in the repository was written by Claude and every pull request was reviewed and merged by me.

That sentence makes it sound like the AI did everything, and it didn't. I've been building mobile software for more than twelve years. That experience is in every requirement the AI worked from, and it's in the setup the AI worked inside: a set of agents, skills and rules I'd spent months refining before Phosgraphy existed. This post is about how that actually worked: the shape of the process, what I brought, what the AI did, and where it needed a person.

If you're curious about what got built and why, the companion post, Drawing with light, on your own machine, covers the technical decisions. This one is about the how.


The timeline

These times come straight from the repository's merge history, in my local time.

WhenWhat merged
27 Oct, by 12:40Spec, architecture and Figma designs, approved by me
27 Oct, 14:13M1: the editing engine (RAW decode, Basic and Tone curve on the GPU)
27 Oct, 14:50M2: the library (catalog, folder import, format grouping, previews)
27 Oct, 15:38M3: the full Darkroom (colour, detail, optics, masks, healing, presets)
27 Oct, 16:37M4: on-device AI (Vision tagging, faces, similarity, classifiers)
27 Oct, 17:10M5: backend, sign-in, sync and cloud sources
27 Oct, 17:16Landing page
27 Oct, 18:00M6: projects, the post editor and publishing
27 Oct, 20:20 to 21:04Release readiness, then TestFlight from GitHub Actions
28 Oct, 10:38Backend deployed to Cloudflare
28 Oct, 11:32 to 13:07The iPhone app, in five milestones
28 Oct, 12:32A spike for Windows and Android
8 NovApp Store release prep, screenshots, end-to-end tests and videos; submitted for review
12 NovLive on the App Store

That first day looks absurd written down, and it should come with an asterisk. Merged isn't the same as finished. The first day produced an app that compiled, passed its tests and matched the designs; it did not produce an app anyone had used for a week. Most of the calendar time after that went into the things that are slow for everyone: Apple's developer portal, signing, App Store Connect, review, and checking things with my own hands and eyes.

Twelve years of mobile work, written into the requirements

The AI is very good at building what you describe. Deciding what to describe is still the job, and that's where experience pays off.

My first message about Phosgraphy wasn't "build me a photo editor". It was a list of requirements, and most of them were technical decisions that came from years of shipping apps:

The AI turned that into a spec and an architecture, and it made many good calls of its own: folding all global tone into one lookup table, the outbox for offline sync, uploading through the backend so no storage keys ship in the app. But it made them inside boundaries I'd drawn, and when a choice would have moved a boundary, it asked me. When the iPhone version came along a day later, I asked for the same features with a mobile-friendly interface, and the shared-code design meant that was a matter of hours. Later I asked for a spike on Windows and Android before committing to anything, because I've seen what a rushed cross-platform decision costs.

The setup: agents, skills and rules

The second thing I brought was the setup, and I think it mattered as much as the model.

Before Phosgraphy, I'd been building a family of mobile apps on a shared platform with Claude for months. Over that time I kept noticing the same thing: the AI was capable, but it was inconsistent in the places where my team would have had a habit. It would skip a test, forget how we deploy, or write a PR description nobody could review. So every time I caught myself correcting the same thing twice, I wrote it down as something the AI could load.

That turned into three layers:

The workflow skills started from an open-source collection that I adopted and kept using. The platform skills are mine, and they weren't written in one sitting. Most started as notes inside one app's repository after a mistake or a good session, got copied to the next app, and were then generalized. Once a skill had worked in two or three apps, I pulled it out of the repositories and into a portable kit that every new project gets on day one. Phosgraphy was the first project that started with the whole kit.

You can see it in the result. The TestFlight pipeline, the way release notes are pulled from pull requests, the end-to-end test harness and the video pipeline all follow patterns from my earlier apps, adapted from Flutter to Swift. The Windows and Android spike landed as a written architecture decision record, because that's what the decision-recording skill asks for. And the rules held: every change came in as a pull request, and nothing went to production without me.

How the work was organized

The setup was simple, and I think the simplicity is why it worked.

One project, one coordinator, one thread per milestone. I talked to a coordinator in the project chat. When I asked for something, it started a separate thread for that piece of work, with its own Claude session and its own branch. A milestone thread read the spec, wrote the code and the tests, opened a pull request, and reported back. When I merged, the coordinator started the next one. Several threads could run at once: the iPhone app and the Windows spike were built in parallel on the same morning.

A written spec first. Before any code, Claude wrote a product spec and architecture document: the features, the stack, the data model, the backend's API, and a list of milestones. Every milestone thread was pointed at that document. This mattered more than anything else. A thread that starts with "build M3 from this spec" makes far fewer strange choices than one that starts with "add some editing tools".

Designs before code, and I chose them. Claude made the designs in Figma: several directions for the overall UI, the Darkroom, the launch animation and the logo. I picked. The near-black Darkroom with amber "safelight" tools, the light app around it, and the swirling-aperture logo were all choices from those options. Once I approved a page of designs, it became the source of truth, and the code threads built against it.

Pull requests as the only way in. Nothing reached main except through a pull request I merged. Each PR had a description of what changed and why, and the test results. Often my whole message to the project was one word: "Merged".

Memory between threads. Threads end; the project doesn't. The project kept a shared memory of decisions and facts: which Apple team signs the app, where the backend lives, what I'd approved and when, what I still owed. A new thread started from that instead of asking me again.

What I did

The AI wrote the code. These were mine:

Where the AI needed a person

This is the part that's missing from most "I built X with AI" posts, so here's the honest list.

The cloud box couldn't run Xcode. Claude worked in a Linux container. It could build and test the pure-Swift parts of the app there, but not the parts that use Apple's frameworks, and not the app itself. The real check for every PR was a macOS runner in GitHub Actions. I usually merged before CI went green, so main's CI was the real gate, and when it went red the same thread opened a follow-up PR to fix it. Early on that happened a couple of times: a Swift ambiguity that only Xcode's compiler flagged, a certificate name that didn't match what Xcode expected.

The Apple web portals need a real browser, on a real Mac. Creating identifiers, profiles and the App Store listing can't be done from a container. For that work, Claude ran in a session on my Mac, driving Chrome. Even then, the first attempt hit a permission wall: saves on Apple's portal were blocked until I explicitly said "use Chrome to do all this".

Some things it wouldn't do, and it was right. The Mac UI tests need macOS Automation Mode, which is turned on with a sudo command that changes a security setting. Claude wouldn't run it, even when I asked. That one is mine to do, at my own keyboard, and that's the right call.

Performance has to be measured on hardware. The engine has a test that fails if a slider drag takes longer than one frame at 60 Hz. CI runs it on a virtual GPU, which only tells you so much. The real number comes from a real Mac with a real 45-megapixel RAW file.

Taste. Every design decision came back to me. For the logo, my one requirement was that the camera aperture stay recognizable, and judging whether a concept did that was my job, not the model's.

What made it work

Looking back, six things did most of the work:

  1. Experience in the requirements, and a setup that encodes how you work. Agents, skills and rules turn your habits into the AI's habits. Without them, you correct the same things in every session.
  2. A spec with milestones. Big, well-defined chunks, each with a definition of done, worked much better than a stream of small requests.
  3. Tests as the contract. Every milestone shipped with tests: the edit maths, the catalog, the sync merge rules, the backend against a real SQLite with the real migrations. When I couldn't read everything, I could read what was tested.
  4. Small, boring infrastructure. A Swift package, SQLite, a Cloudflare Worker, GitHub Actions. Nothing that needed a person to babysit it.
  5. Clear lines. PRs are the only way in, production is mine, secrets are mine. Those rules meant I could let the threads run without worrying about what they might touch.
  6. Making the AI ask. The threads were set up to make reversible decisions themselves and tell me what they did, and to ask me about the irreversible ones. That kept the work moving while I was away, without surprising me when I came back.

One more thing: the tests film the videos

My favourite example of the leverage here is the videos. I asked for an end-to-end test suite and for demo videos. Claude built one thing that does both: the UI tests drive the real app through a realistic session, and run in "video pace" they slow down, mark their beats and record the screen. The promo and onboarding videos are the real app, filmed by its own tests. When the app changes, the videos can be shot again by running the tests.


So, can AI build an app now?

It built this one, and I'm proud of it. But "AI built it" leaves out the half of the work that was still mine: twelve years of knowing what to ask for, the setup that taught the AI how I work, choosing between options, holding the keys, and deciding when it was ready. What changed is the cost of the other half. A Lightroom-class editor with a library, on-device AI, sync and publishing used to be a team and a year. Here it was one person, a lot of decisions and a couple of weeks.

Phosgraphy is free on the App Store for Mac and iPhone, at phosgraphy.com. Try it, and tell me what breaks.

Phosgraphy, drawing with light.

← All posts