Game Development Community

XCode: How to name executable different

by Martin Schultz · in Torque Game Engine · 06/04/2007 (7:35 am) · 6 replies

Hi,

a quick question from a Mac newbie. How do I setup XCode to have a different name than "Torque Demo OS-X"? I searched the forums and searched within the XCode project, but didn't find anything. Is there a secret place I haven't looked for? :-)

Thanks,
Martin

#1
06/04/2007 (11:09 am)
Go into Project->Edit Active Target, and click on the "Properties" tab. Change "Torque Demo OSX" to a new name of your choosing.

Gary (-;
#2
06/08/2007 (4:09 am)
Hi Gary,

thanks, I tried that today. And I cleaned up the build before and did a full rebuild then, but still the binary is named like the original one. Tried it with TGE 1.4.2. Is there something to do afterwards after changing the name in the props?

I feel sooo stupid :-) I'm new to Mac compiling and finding out how stuff works on the Mac. Thanks for any help.

Thanks,
Martin :-)
#3
06/08/2007 (9:09 am)
Martin:

Go to Project->Edit Active Target, click the Build tab and change the Product Name property.
#4
06/08/2007 (9:30 am)
Ahhhh! That solved the problem! Works now, thanks a lot. I overlooked in the build tab the product name property. Cool!
#5
06/08/2007 (4:03 pm)
Oh, huh. I didn't find that one before :-/

Gary (-;
#6
09/11/2007 (10:46 pm)
Need to add something for later reference:
Both places need to be changed, otherwise the binary won't work. That's at least what I found out recently.

So change what Gary said:
Go into Project->Edit Active Target, and click on the "Properties" tab. Change "Torque Demo OSX" to a new name of your choosing.

And change the name as asmaloney said to the same name as you used above in the edit active target. Both names have to be the same!
Go to Project->Edit Active Target, click the Build tab and change the Product Name property.