Re: com.yourcompany
Re: com.yourcompany
- Subject: Re: com.yourcompany
- From: Jon Davis <email@hidden>
- Date: Thu, 28 Aug 2008 04:10:59 -0700
On Aug 28, 2008, at 1:08 AM, Simon Wilson wrote:
Hi Jon,
Xcode 3's templates are located in:
"/Developer/Library/Xcode/Target Templates"
Simon
Thanks.
Editing the templates had no effect in this regard, not until I edited
the actual .plist file at ..
/Developer/Library/Xcode/Project Templates/Application/Cocoa
Application/Info.plist
.. and ..
/Developer/Platforms/XXXX.platform/Developer/Library/Xcode/Project
Templates/Application/XXXX Application/Info.plist
Incidentally, I've found a lot of Application directories in there
with .plist files that I had to edit, I was thinking, why not just
replace com.yourcompany with ${COMPANYBUILDERPREFIX}?
I executed the command in Terminal:
defaults write com.apple.Xcode.plist
PBXCustomTemplateMacroDefinitions '{ "COMPANYBUNDLEPREFIX" =
"com.actualcompanyname.";}'
.. where com.actualcompanyname was actually my own prefix. I then
changed the .plist files mentioned above to use that variable instead
of a literal value.
<key>CFBundleIdentifier</key>
<string>${COMPANYBUNDLEPREFIX}${PRODUCT_NAME:identifier}</
string>
But, I'm not quite sure how to test this at runtime; It remains a
variable name at design time. It builds and runs but then so it also
does if I add a junk character in the variable name.
Assuming this works (??), if Apple might be on this list, here's my
nomination / vote for this change to be made in Xcode permanently, and
for the variable value to be set in the Xcode preferences dialog along
with ORGANIZATIONNAME.
Thanks,
Jon
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden