react-native-rename
react-native-rename copied to clipboard
iOS build command "npx react-native run-ios" fails after rename
Describe the bug
After renaming a React Native project using react-native-rename, the npx react-native run-ios command fails with a CocoaPods installation error, even though manual pod install works successfully and the app can be built directly through Xcode.
To Reproduce Steps to reproduce the behavior:
- Create a React Native project
- Run
npx react-native-rename@latest "project_name" -b "com.project_name.app"to rename the project - Follow react-native-rename output instructions (delete ios files and reinstall pods)
- Attempt to run the iOS app with
npx react-native run-ios - Observe the CocoaPods installation error
Expected behavior
The npx react-native run-ios command should successfully build and run the app after renaming the project.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- operating system: MacOS Sequoia 15.1
- npm version: 10.9.0
- node version: v22.12.0
- react-native-rename version: latest
- react-native version: v0.78
Additional context Add any other context about the problem here.