All Projects → appculture → Xcode Project Renamer

appculture / Xcode Project Renamer

Licence: mit
Swift script for renaming Xcode project

Programming Languages

swift
15916 projects

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/appculture/xcode-project-renamer/master/Sources/main.swift -o rename.swift && chmod +x rename.swift

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

# remove script
$ rm rename.swift

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].