Skip to content

[codex] fix stale iOS pods after rename#316

Merged
junedomingo merged 1 commit into
masterfrom
codex/fix-run-ios-after-rename
May 31, 2026
Merged

[codex] fix stale iOS pods after rename#316
junedomingo merged 1 commit into
masterfrom
codex/fix-run-ios-after-rename

Conversation

@junedomingo

Copy link
Copy Markdown
Owner

Summary

  • Remove stale ios/Pods CocoaPods installation artifacts during rename cleanup.
  • Preserve Podfile.lock so existing pod version pins remain intact for the next install.
  • Add regression coverage for renamed iOS projects with existing CocoaPods artifacts.

Root Cause

  • The rename flow updated the Podfile and iOS project files, but left the previous CocoaPods installation under ios/Pods. That stale generated project can interfere with the next npx react-native run-ios auto pod-install step after rename.

Fixes

Test Plan

  • npm test -- --runInBand --testNamePattern="removes stale CocoaPods installation artifacts"
  • npm test -- --runInBand --testNamePattern="issue regressions"
  • npm run lint
  • npm test

@junedomingo junedomingo marked this pull request as ready for review May 31, 2026 13:23
@junedomingo junedomingo merged commit 041f8ab into master May 31, 2026
3 checks passed
@junedomingo junedomingo deleted the codex/fix-run-ios-after-rename branch May 31, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

iOS build command "npx react-native run-ios" fails after rename

1 participant