Doesn't change ios/* names
See original GitHub issueHello, react-native-rename dosn’t change name of files in ‘ios’ dir, This is a sample:
D:\Project\MyProject>react-native-rename "TheName"
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
The system cannot find the path specified.
\android\app\src\main\res\values\strings.xml MODIFIED
\index.js MODIFIED
\package.json MODIFIED
\app.json MODIFIED
\android\settings.gradle MODIFIED
\app.json MODIFIED
The system cannot find the path specified.
The system cannot find the path specified.
\android\app\BUCK MODIFIED
\android\app\build.gradle MODIFIED
\android\app\src\main\AndroidManifest.xml MODIFIED
Done removing previous bundle directory.
Done removing builds.
APP SUCCESSFULLY RENAMED TO "TheName"! 🎉 🎉 🎉
Please make sure to run "watchman watch-del-all" and "npm start --reset-cache" before running the app.
System Info: — Windows 10 Enterprise — React Version : 16.2.0 — React Native Version : 0.52.2
Issue Analytics
- State:
- Created 6 years ago
- Reactions:5
- Comments:13
Top Results From Across the Web
Edited Device Name Not Updating - Apple Support Communities
I changed name of my iphone x in Settings and while it shows new name there, the old name still shows under my...
Read more >How to Change Your iPhone's Name - Lifewire
On the iPhone Home screen, tap Settings. · Select General. · Tap About. · Tap Name. iPhone settings · Tap the x next...
Read more >How to Change iPhone Name (2022) - Beebom
1. To get started, launch the Settings app on your iPhone or iPad. Then, scroll down and tap General. · 2. Now, select...
Read more >How to Change Your iPhone's Name (And Why You Should)
Now that you know why you should change your iPhone's name let's get it done. The fastest way to do so is from...
Read more >How to Change the Device Name of your iPhone - YouTube
In this video I am going to show How to Change Your iPhone's Name | iPhone or iOS app or Here's How to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi guys! The problem seems to be related with the name contained in the android/app/src/main/res/values/strings.xml file. The developer is using that app_name value to iterate over the files under the ios folder. I suggest to use the one in the app.json defined as name. So, if you want a quick fix, change the app_name with the one used by ios.
This problem seem caused by the Bundle Name and the Project Folder Name mismatch. A quick solution which i used is:
react-native-rename "DesiredName"
this will output invalid path error. then:react-native-rename "CurrentName"
this will solve the issue about the path to check for. then finally:react-native-rename "DesiredName"