Skip to content

rm335/xcode-project-renamer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Xcode Project Renamer

Swift script for renaming Xcode project

It should be executed from inside root of Xcode project directory and called with two string parameters: $OLD_PROJECT_NAME & $NEW_PROJECT_NAME

Script goes through all the files and directories recursively, including Xcode project or workspace file and replaces all occurrences of $OLD_PROJECT_NAME string with $NEW_PROJECT_NAME string (both in each file's name and content).

Usage

# download script and make it executable
$ curl https://raw.githubusercontent.com/rm335/xcode-project-renamer/master/rename.swift -o rename.swift && chmod +x rename.swift

# run script
$ ./rename.swift "$OLD_PROJECT_NAME" "$NEW_PROJECT_NAME"

# remove script
$ rm rename.swift

One line usage

curl https://raw.githubusercontent.com/rm335/xcode-project-renamer/master/rename.swift -o rename.swift && chmod +x rename.swift && ./rename.swift "$OLD_PROJECT_NAME" "$NEW_PROJECT_NAME" && rm rename.swift

License

This code is released under the MIT license. See LICENSE for details.

About

Swift script for renaming an Xcode project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages