|
What workflow is best for Codex and Xcode? There are a lot of tools you can configure to work with Xcode, but they might be costing you context (or wasting time). Last year, I started using Makefiles with my agents. A Makefile is a script that can be used to build or run anything (like xcodebuild). I love that you can extend Makefile targets to support variables to hyper focus testing with agents. It's better for Codex to make one tool call that does exactly what you need, rather than multiple tool calls. You'll save context and you reduce the risk of running dangerous commands accidentally. Read my latest article: How I Build Apps With Codex Without Opening Xcode Read the article above and learn:
The benefit of the Makefile is that you and the agent can use the same command. So your agent is productive and you are able to double-check their work. 2 Tactics You Can Steal#1 I don't let my agents use rm (remove)But I do let my agents use rm in a Makefile. Grab my AppCreator skill so your agent can setup Xcode builds safely. Need to clean build artifacts? Have agents use: make clean.
Don't let your agents use dangerous commands accidentally. Instead wrap them safely using this skill. #2 App Store Keywords TipYour App Store keyword field is 100 characters. Do not put spaces between the commas; you should only have spaces between words. Include one or more keywords that describe your app. Keywords make App Store search results more accurate. Separate keywords with an English comma, Chinese comma, or a mix of both. You're losing out on 1-3 additional keywords when you format your keyword list incorrectly. 5 Links and Resources
From the CommunityDo you use Plan mode? I discuss this in the article today. Sometimes plan mode is useful to get a quick prototype, but I find it will do things I don't want (and it creates a huge wall of text to read). If you don't read it and push back, you risk wasting a lot of time and tokens. Short, concise plans designed from discussion have always felt better to me. Talk through a feature, poke holes in it, and work step-by-step with an AI agent.
Quick Question What's one Codex skill that you cannot live without? Click above to share your best practices. Thanks for joining the conversation! Talk soon, Paul Solt P.S. How do you get more downloads on the App Store? Your App Store screenshots drive sales — get 100 best practices today. 👇 The Screenshot Mistake That's Costing You Downloads Every Day (196K views) P.P.S. Vote for next weeks topic: |
Join 6,727+ iOS/macOS developers using Codex and Claude to build and ship apps. Expect practical tutorials, repeatable workflows, and hard-earned lessons from 7 shipped apps and time at Apple, Microsoft, and GoPro.
Hey Reader, I added voice control to my pour-over coffee app. Using OpenAI’s latest voice model, I can have a natural back-and-forth conversation with the app and change recipe settings—even after I’ve started a recipe. I gave the voice model tools to change any recipe setting. The app used the Gleam voice and can explain how to pour with a gooseneck kettle. It was awesome, and our babysitter couldn’t stop laughing yesterday. I'd need to figure out pricing to cover the cost, but it could help...
Hey Reader,Check out GPT-6 Astra. It's a refreshing update that is a leap ahead of Sol.Here are my latest projects that Astra is making even better. The GPT-6 Astra Thinking LEVEL You Need to Use – I used to make a running/walking companion app for my speed work & conditioning. GPT-6 Astra Did This on Light Thinking – 3D ray tracer port from my Windows C++ code to Swift on iPhone (19-year-old code). Is This Spider Dangerous? (I Added AI to My iPhone App) – Astra fixed my iOS app to use my...
Hey Reader,This week, I started a manager agent before bed, and it worked all night. When I woke up, it had broken a working feature, added weird workarounds for a problem that wasn't real, and dropped the feature. The feature? Distinguishing between a PiP video close vs. pause in my timer app on iPhone. We had a random 250ms delay to differentiate the two, and removing it broke some behavior. Except the delay wasn't necessary, and the feature was fine before the agents touched it. This kept...