Re: Xcode WO template (Xcode 2.2, WO 5.3)
Re: Xcode WO template (Xcode 2.2, WO 5.3)
- Subject: Re: Xcode WO template (Xcode 2.2, WO 5.3)
- From: Lachlan Deck <email@hidden>
- Date: Tue, 10 Jan 2006 09:10:11 +1100
Hi there,
(removing cross-post)
On 10/01/2006, at 1:18 AM, Dev WO wrote:
Merging what I found on the mailing list and Nathan Walker podcast
#4 I was able to create the template:)
The last thing I couldn't find:
I added some custom files to the template, I added the header with
the different variable (date, user, project name, etc), but it
seems like Xcode doesn't check my custom files and just replaces
the variables in it's own default files.
I know it's not an issue in the way it won't break the application,
but I'll be happy to know how to make Xcode replace the variables
in the template's added files.
So far as replacing variables you'll need to add your variable keys
and their associated values (i.e., your prefs for those keys) to the
appropriate defaults dictionary...
So if you've got:
defaults write com.apple.xcode PBXCustomTemplateMacroDefinitions -
dict ORGANIZATIONNAME "My Company"
Then put:
defaults write com.apple.xcode PBXCustomTemplateMacroDefinitions -
dict-add SomeKey "some value" anotherKey "another value"...
with regards,
--
Lachlan Deck
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden