Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ytbryan/rename
:v: A simple ruby script to sync your iOS resources/directories with project name.
https://github.com/ytbryan/rename
Last synced: about 4 hours ago
JSON representation
:v: A simple ruby script to sync your iOS resources/directories with project name.
- Host: GitHub
- URL: https://github.com/ytbryan/rename
- Owner: ytbryan
- License: mit
- Created: 2014-09-14T10:06:37.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-12-23T05:40:11.000Z (almost 8 years ago)
- Last Synced: 2024-04-15T01:16:44.549Z (7 months ago)
- Language: Ruby
- Homepage:
- Size: 681 KB
- Stars: 17
- Watchers: 3
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG
- License: LICENSE
Awesome Lists containing this project
README
#Rename
A simple ruby script to sync your iOS resources/directories with project name. For now, the script does not rename project name with whitespaces.
![rename](gif/finally.gif)
`**NOTE: It's probably a good idea to backup your project first.**`
#### How to rename your ios xcode project
1. Tap lightly on the project name (ie. example) to change the name. (see gif above.)
2. A dialog box will appear. Click "Rename" will only rename the .xcodeproj and related resources.
![Image](images/3.png?raw=true)3. But we will end up with this.
![Image](images/4.png?raw=true)4. Run ./rename and follow the instructions.
#### How to run the script?
1. drop the rename script at the same level as your .xcodeproj file.
2. run the following:
``` ruby
update install
./rename
```#### What it does?
- It detects the name of _.xcodeproj and compare with its resources name.
- It then changes the name of directories and its resources by searching and replacing the old names.#### You should place the script under the same level as your .xcodeproj file. See below:
![Image](images/1.png?raw=true)#### remember to update the scheme
Go to manage scheme to change the name of your schemeChange "example" to "newname"
![Image](images/5.png?raw=true)#### CONTACT
[@ytbryan](http://twitter.com/ytbryan) & 📮 Bryan Lim [email protected]#### LICENSE
[MIT](http://opensource.org/licenses/MIT)