Re: Xcode template executable's name
Re: Xcode template executable's name
- Subject: Re: Xcode template executable's name
- From: harry <email@hidden>
- Date: Thu, 18 Mar 2004 21:13:59 +0100
On 17-mrt-04, at 7:00, David Ewing wrote:
On Mar 16, 2004, at 9:56 AM, harry wrote:
Hi,
to have some templates for Ruby-projects, I copied and adapted some
existing Application-Project Templates; added some files, NIB-files,
outlet/action-connections etc. Having most of the macro-names
resolved except for the executable's name; in the instantiated
project it remains <<PROJECTNAME>>. Where is this naming of the
executable defined? I'm sure I've been through all the info-screens,
property-lists etc., but I cannot find this one ...
It sounds like your project template has a custom executable in it.
This is stored in the default.pbxuser file inside the project wrapper.
You'll need to add that file to the list of files to macro-expand. The
Java Tool project template is probably the best one to look at to see
how this is done.
Dave
Thx for answering Dave,
I checked this out and noticed, while the JavaTool-project template has
a default.pbxuser file inside the project wrapper, my template has not,
but it contains: TemplateInfo.plist, <uid>.pbxuser and project.pbxproj.
After investigating a little more I found the <uid>.pbxuser to be the
culprit! This file isn't supposed to be in the template's
project-wrapper, as I saw with most of the default Xcode-templates. It
is created when opening the template-project itself with Xcode ... as
of course I did with my own templates to edit them. After removing it
from the template's project-wrapper, the executable is named correctly!
I assume default.pbxuser contains default-settings for the template,
but only few of the provided templates have this one, so I'm not sure
when/if it is necessary; the <uid>.pbxuser contains settings for <uid>,
and is created when creating a new project.
Harry
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.