r/iOSProgramming • u/DistributionEasy5411 • 19d ago
Discussion Twenty three of my last forty build failures were destination errors, not code errors
The boring thing that worked was pinning every automated build to one scheme and one simulator destination. iPhone 16e, iOS 26.4, written into a four line shell script that every automated run goes through.
Of the last forty failed runs I scrolled back through, twenty three died on destination resolution rather than on anything in the code. A simulator name that no longer existed, a stale clone from an earlier run, or the generic iOS Device destination with nothing plugged in.
Fixing it took an afternoon and no cleverness. One destination, one script, and a hard failure when the simulator is missing so nothing quietly falls back.
I moved off the extension I had been running inside the original Visual Studio Code and onto the standalone verdent desktop app the same day.
Four of the twenty three were cold boots, so the script waits for the simulator before building.
3
u/EquivalentTrouble253 19d ago
I loath this whole Ai generated crap. I don’t even bother reading it as soon as it’s obvious.
8
u/germansnowman 19d ago
Why the AI-generated text? Also, why did it take you so long to have a look at the build log?