How do you actually change the name of your executable?

Greetings all-knowing lords of the Applescript world,

Hopefully this is a stupid question. I have an Xcode Project and I want to change the name of the release file. Unfortunately, I can’t seem to edit the name when I double-click on the executable in Xcode. I can obviously change the name of the file after the fact, but if I want to send an Applescript command to the program, I have to use the old name to make it work (it also shows the old name in the Force Quit application list) so the old name is buried somewhere in the file. How can I change the actual name? Thanks so much. :slight_smile:

-Evan

Use the Target Inspector:

http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/05_02_bs_targets/chapter_30_section_6.html#//apple_ref/doc/uid/TP40002689-BBCIBEJD

You may also need to alter the “Product Name” setting in the Build settings tab:

http://developer.apple.com/documentation/DeveloperTools/Conceptual/XcodeUserGuide/Contents/Resources/en.lproj/05_04_bs_build_settings/chapter_32_section_5.html#//apple_ref/doc/uid/TP40002691-BCIIAAIE

…Product Name did the trick. Thanks so much. :slight_smile: