Skip to content

wm-j-ray/cloneProject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

cloneProject

Synopsis

A script that will clone an xCode project or workspace. (And it REALLY works quite well)

This script will copy an xCode project to a new project directory name and replace/rename all files within to work as expected under the new name. I have found this script to work properly on workspaces, pod files, the works.

Project names that contain characters other than alpha-numeric, spaces or underscores MAY not work properly with this script. And, naturally you may want to git init the cloned copy.

Code Example

Copy a project that you want to copy to your desktop. In terminal, navigate to desktop, and run the following in terminal.

cloneProject sourceProject newProject

The only rule is that the sourceProject name connot containthe new project name. So for instance, renaming "MyStuff" to "MyStuff2" will not work.

Installation

Two files are included; a source file all ready chmod'ed to be executable and a source file, so take your choice. Copy one to a directory in your path.

You can make the source file executable by:

chmod +x cloneProjectSource.sh

Creators

Morphed from the original renameXcodProject.sh by Monty Ohrt, and modified by Rudi Farkas rudi.farkas@gmail.com

About

Easily clone an xCode project or a workspace

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages