How I built an iOS app in two days with Xcode 26.3 and AI

Lead: Over two working sessions in late 2025, an independent developer used Xcode 26.3’s new agentic AI integration and Claude agents to convert a 3D-printing filament manager into a sewing-pattern manager for iPhone, iPad and Apple Watch. The project combined migration, image capture, OCR and on-device ML; the developer reports inserting 52,947 lines and deleting 10,626 lines across 689 files while producing a 116-file codebase totaling 32,381 lines. The run highlighted a dramatic productivity boost compared with a hand-coded timeline (an estimated 4–6 months), but also exposed stability problems with background agents and token budgets. By the end of the short cycle key ML features—image rectification, barcode filtering and vendor/number extraction—were working in the app.

Key takeaways

  • Xcode 26.3 (developer preview) introduced agentic AI features that made complex refactors and new ML features feasible in under two days.
  • The developer reported 52,947 lines added and 10,626 removed across 689 files; the resulting codebase currently has 116 code files and 32,381 lines of code.
  • Migrating a codebase from filament tracking to sewing-pattern management required structural changes beyond simple search-and-replace—data models, configuration and UI logic all needed rewriting.
  • Agentic workflows enabled quick ML-enabled features: automatic envelope detection, corner correction, OCR extraction and barcode exclusion for pattern-number detection.
  • Two major friction points were runaway background agents (no in-IDE visibility) and rapid token consumption that caused a 3-hour 19-minute work stoppage after hitting 91% of the usage cap.
  • When agent behavior was constrained—no background agents, frequent status updates, short step timeouts—the workflow became stable and highly productive.
  • The target market is sizable: an estimated ~30 million sewists in the U.S. and Canada, far larger than the few-hundred-thousand to ~1 million 3D-printing hobbyists the author referenced (Crafting Industry Alliance estimate).

Background

Agentic AI in IDEs has been hyped as a productivity multiplier for months. Previously, the developer had used terminal-based tools (Claude Code and OpenAI Codex) to build apps for iPhone, Mac and Apple Watch that used NFC and photos to manage 3D-printer filament. Those terminal workflows could configure build files and orchestrate cross-platform targets but lacked tight IDE integration and a streamlined image-paste UX.

Apple’s Xcode 26.1 included some AI features but, according to the developer, was unreliable for extended vibe-coding sessions. The 26.3 developer preview integrates an assistant that can call multiple agents, consult Apple documentation, and operate within the IDE—capabilities designed to reduce context switching and accelerate complex tasks like migrations and ML integration.

Main event

The developer copied an existing filament-tracking project, renamed it and began migrating every layer from domain models to UI text and configuration. Sewing patterns required many more attributes (vendor, pattern number, front/back cover images, barcode) than spools of filament, so migration involved changing data structures and indexes rather than simple renaming. That sort of tedious, precision work proved ideal for an AI assistant when it behaved predictably.

Early sessions showed Xcode launching multiple parallel background agents. While parallelism accelerated some tasks, it also produced instability: agents would stall, fail to report progress, or collide by editing overlapping files. At one point the developer’s token allocation reached 91%, and background agent activity consumed the remainder of the allotment, yielding a 3-hour 19-minute stoppage before work could resume.

To recover, the developer edited the project’s CLAUDE.MD instructions and enforced one rule set: no background agents, no multi-agent splits, frequent step updates and no long-running steps without heartbeats. With those constraints, migration cleanup took about 20 minutes and subsequent ML feature work proceeded smoothly. The team then implemented high-quality image capture, perspective correction, automated cropping and an OCR pipeline to extract vendor names and pattern numbers while excluding barcode digits.

Practical touches included saving both OCR text and raw barcodes as separate fields so users can search the full envelope metadata, plus adding NFC tracking for physical patterns. The developer also used Wispr Flow for roughly 75% of voice-driven prompting, enabling one-handed coding sessions while preserving a natural Mac paste shortcut (Command-V) in Xcode’s assistant.

Analysis & implications

Productivity: The reported insertion of 52,947 lines and deletion of 10,626 lines in under two days is an extreme demonstration of force multiplication when an AI agent can safely perform repetitive structural edits and implement new APIs. If the developer’s 4–6 month manual estimate is reasonable, agentic IDEs can compress months of work into hours for solo practitioners—assuming stability and cost are handled.

Stability and observability: The most serious friction was operational, not technical: invisibly running background agents consumed tokens and left the developer blind to progress. IDEs that embed agentic workflows need process visibility (which agents are running, what files they have modified, resource consumption) and clear controls (pause/stop/retry). Without those controls, the risk is wasted budget, lost time and developer frustration, undercutting the productivity gains.

Cost model and resource budgeting: Token budgets and session context retention are new constraints in development workflows. Idle or stuck agents retaining large context windows can consume quotas unpredictably. Teams and individuals will need new practices—agent timeboxing, explicit context trimming, and usage dashboards—to manage cloud-based or metered agent services.

Market and product strategy: This project shows how AI can make a niche-to-product trajectory faster. The sewing-market TAM cited (~30 million craft sewists in the U.S. and Canada) suggests meaningful commercial potential if the product reaches App Store quality. But shipping at scale will require hardening, privacy reviews (camera and NFC access), and a sustainable agent-cost plan.

Metric Value
Lines added 52,947
Lines removed 10,626
Files touched 689
Resulting code files 116
Total lines (current) 32,381
Token stoppage 3 hours 19 minutes after 91% usage
Estimated manual time 4–6 months

These numbers illustrate the scale of automated edits and the kind of resource usage agents can generate. The token-stoppage item is particularly important: even when agents appear idle, retained context can count against budgets and create long interruptions.

Reactions & quotes

Developer perspective and lessons learned were blunt about a central tradeoff: enormous speed gains vs. the need for stronger process controls.

“Xcode 26.3’s agentic features made tasks achievable in hours that would otherwise take months — but runaway background agents nearly derailed the work.”

David Gewirtz / Developer (ZDNet report)

An IDE-integrated agent can leverage platform docs in ways terminal tools cannot, but that integration also amplifies any control or visibility shortcomings.

“When I banned background agents and demanded short, frequent updates, the workflow stabilized and sprint productivity skyrocketed.”

Developer notes (project CLAUDE.MD)

End users’ reaction—represented by the project’s early reviewer—was pragmatic: the app’s core feature set (high-quality envelope capture + searchable OCR) delivered clear value.

“She’s excited: the scanner and searchable metadata turn a basement of paper envelopes into a manageable collection.”

Project tester (user)

Unconfirmed

  • Whether the final public Xcode 26.3 release will change agent background task visibility before general availability (Apple has indicated a release within a month, but this specific fix is not confirmed).
  • Whether the author will publish the sewing-pattern app to the App Store; the developer said it is undecided and may need more hardening before release.
  • Long-term token pricing and quota policies for integrated agent services—these remain vendor-dependent and may change.

Bottom line

Agent-enabled IDEs can dramatically accelerate complex engineering work—especially tedious migrations and feature additions that require large, precise code edits and familiarity with platform APIs. This case demonstrates how a solo developer used agentic workflows to move from project copy to an ML-enabled app prototype in a fraction of traditional time.

But the promise is conditional. To be production-ready at scale, agentic tooling must add robust observability, strict process controls, and predictable cost models. Until IDEs give developers clearer control over background agents and context consumption, teams should treat agent operations as powerful but potentially brittle tools that require new guardrails and deployment discipline.

Sources

Leave a Comment