Skip to content
PidebugMobile

Clean rebuild iOS app and commit iOS-only fixes

Session from pi-coding-sessions on Hugging Face by championswimmer · MIT · condensed by Coders Talk

2msession
0interventions
GOAL

Clean and rebuild the iOS app on a running iPhone simulator, then commit and push only the non-watch iOS fixes to the current branch.

  1. Prompt · +0
    Clean and rebuild the iOS app and run it on the already-running iPhone simulator
  2. Agent did · +0m
    Read project skill docs and AGENTS.md, inspected repo structure and searched for existing xcodebuild/simulator scripts
  3. Agent did · +0m
    Found the maestro run-ios-local.sh script, detected the booted simulator UDID via simctl, listed xcodebuild targets, then ran a full clean build with xcodebuild targeting the simulator destination
  4. Agent did · +0m
    Reported build succeeded, installed TwoFac.app from DerivedData, and launched it on the simulator (PID 77919)
  5. Prompt · +2m
    Commit the iOS (not watch) related fixes we just did and push them to current branch
  6. Agent did · +2m
    Checked git status/diff across modified files, identified which changes were iOS-specific vs watch-specific, and filtered the file list to exclude watchApp changes
  7. Agent did · +2m
    Staged and committed only ICloudBackupTransport.kt with message 'fix(ios): harden iCloud backup transport container and IO handling', then pushed the branch arnav/ios-fixes to origin
  8. Outcome · +2m
    iOS build succeeded and ran on simulator; 1 commit (a66a738, 1 file changed, 56 insertions, 40 deletions) pushed to origin/arnav/ios-fixes, watch-related changes left uncommitted
VERDICT

I'd start by pointing the agent straight at the maestro run-ios-local.sh script and the simctl UDID lookup instead of letting it explore the repo structure first, since that's what it ended up using anyway. The second prompt worked well because I explicitly separated out iOS from watch changes, which let the agent correctly filter the diff and only commit the one real fix instead of sweeping in unrelated watch-app work.

I tried this · 0

Discussion · 0

How Builds work