Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programmatically rename an XCode project

Tags:

xcode

xcode4

I know one can rename a project by slowly double clicking the project name but I was wondering if it's possible to automate that through the command line (any language, possibly Apple Script) ?

like image 387
Thomas Joulin Avatar asked Oct 29 '25 09:10

Thomas Joulin


1 Answers

Renaming an Xcode4 project is quite easy. Click on Show the Project Manager to see the top level project file on the left side. Click on the project name (here DeeTeeSaver will be changed to DeeTeeSaver2) in order to edit it and enter the new name.

enter image description here

It takes a second to let Xcode4 find out which parts have to be changed. It then displays a dialog which parts will be changed. Simply click on Rename.

That´s it. No need to fondle around with AppleScript. You might miss important parts inside the bundle.

Greetings from Switzerland, Ronald Hofmann

enter image description here

like image 145
Ronald Hofmann Avatar answered Oct 31 '25 10:10

Ronald Hofmann



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!