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 1 year 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 (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2016-12-23T05:40:11.000Z (over 9 years ago)
- Last Synced: 2024-04-15T01:16:44.549Z (about 2 years 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.

`**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.

3. But we will end up with this.

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:

#### remember to update the scheme
Go to manage scheme to change the name of your scheme
Change "example" to "newname"

#### CONTACT
[@ytbryan](http://twitter.com/ytbryan) & 📮 Bryan Lim ytbryan@gmail.com
#### LICENSE
[MIT](http://opensource.org/licenses/MIT)