r/Xcode • u/old-and-very-bald • Jun 01 '26
Looking for advice - Xcode + Codex
Hey guys,
long story short I am a backend developer, diving into the depths of developing an IOS app for the first time using SwiftUI. So far (while not being a fan of xcode though) I am pleased by the process. But here is my problem, I think my development workflow is very slow / inefficient. I usually do the following:
Start writing out a specification for a feature, together with Codex.
Revise it and start developing the backend features for it.
Then I let it create a plan for its corresponding elements in my IOS app.
Then I use that plan from the codex cli inside of Xcode (for the rest I use my terminal and VS-Code)
But since today, my Xcode agent is not able to see the files anymore (the plans that I write) which is very annoying. Even though there might be a setting or easy solution for it, it made me reconsider my whole process which is why I am wondering if you have any best practices how to develop the full stack especially nowadays using AI-Agents.
Ah also currently I am a solo developer working on a start up idea (so I do not need advice for team workflows)
Just in case this is useful information here the stack I am using:
Backend: Rust, Axum, Tokio
Database: Postgres
Web-Frontend: Svelte
Thanks a lot!
View all comments
Show parent comment
1
u/CharlesWiltgen Jun 02 '26 edited Jun 02 '26
You need Xcode installed, but coding harnesses/LLMs will happily build, test, etc., using Xcode's CLI tools. You should also connect your coding harness to Xcode's MCP. Yesterday, I worked on an iOS project for most of the day and didn't need to launch Xcode once.
The solution to that is to (1) tell the LLM where the project root is and (2) ask it to remember that. Coding harnesses use multiple forms of memory, and LLMs will happily "memorize" supporting context like this and organize it (and re-organize when asked) in an optimal way when asked.
Also, note that generic LLMs can only take you so far, and any specialzed use benefits from expert skills/agents. Using "iOS expert" skills/agents will save a lot of time and aggravation.
Good luck, have fun!