The Ages Old __MyCompanyName__ Question

2008-12-17 Thread Phil Hystad
OK, I am fairly new to Xcode and Cocoa programming and I want to  
change the __MyCompanyName__ template macro definition.


So, I google this question, find answers, and try it out.  It did not  
work.  So, is there something different in today's Xcode that means  
the procedure for changing __MyCompanyName__ is different.  I think  
the most recent entry I found (with a date) was 2005 or so.


The procedure I tried was to set ORGANIZATIONNAME in the  
PBXCustomTemplateMacroDefinitions key of the Xcode plist.  First, I  
could not find it by looking at the plist.  So, I tried the defaults  
command from the shell and this seemed to work but no change in  
behavior on Xcode in spite of cycling Xcode and trying a number of  
other things.


So, How do you change __MyCompanyName__?

Thanks,
phil
phys...@mac.com

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: The Ages Old __MyCompanyName__ Question

2008-12-17 Thread Joseph Crawford

see this page
http://www.mac-developer-network.com/podcasts/xcodequicktips/episode6/index.html

On Dec 17, 2008, at 11:32 AM, Phil Hystad wrote:

OK, I am fairly new to Xcode and Cocoa programming and I want to  
change the __MyCompanyName__ template macro definition.


So, I google this question, find answers, and try it out.  It did  
not work.  So, is there something different in today's Xcode that  
means the procedure for changing __MyCompanyName__ is different.  I  
think the most recent entry I found (with a date) was 2005 or so.


The procedure I tried was to set ORGANIZATIONNAME in the  
PBXCustomTemplateMacroDefinitions key of the Xcode plist.  First, I  
could not find it by looking at the plist.  So, I tried the defaults  
command from the shell and this seemed to work but no change in  
behavior on Xcode in spite of cycling Xcode and trying a number of  
other things.


So, How do you change __MyCompanyName__?

Thanks,
phil
phys...@mac.com

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/codebowl%40gmail.com

This email sent to codeb...@gmail.com


___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: The Ages Old __MyCompanyName__ Question

2008-12-17 Thread Randall Meadows

On Dec 17, 2008, at 9:32 AM, Phil Hystad wrote:

OK, I am fairly new to Xcode and Cocoa programming and I want to  
change the __MyCompanyName__ template macro definition.


So, I google this question, find answers, and try it out.  It did  
not work.  So, is there something different in today's Xcode that  
means the procedure for changing __MyCompanyName__ is different.  I  
think the most recent entry I found (with a date) was 2005 or so.


The procedure I tried was to set ORGANIZATIONNAME in the  
PBXCustomTemplateMacroDefinitions key of the Xcode plist.  First, I  
could not find it by looking at the plist.  So, I tried the defaults  
command from the shell and this seemed to work but no change in  
behavior on Xcode in spite of cycling Xcode and trying a number of  
other things.


So, How do you change __MyCompanyName__?


defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions  
'{ ORGANIZATIONNAME = Your Company, Inc.; }'


works (I just tested it again in Xcode 3.1.1).

You have to quit Xcode and *then* run this for it to work, though.
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Re: The Ages Old __MyCompanyName__ Question

2008-12-17 Thread Sherm Pendley

On Dec 17, 2008, at 11:32 AM, Phil Hystad wrote:


So, How do you change __MyCompanyName__?


The latest Xcode uses Address Book, so you can simply edit your own  
card and add a company name.


sherm--

___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com