Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Configuring the xcode environment




On Jan 26, 2005, at 11:17 AM, David Ewing wrote:

This command should work:

defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{ORGANIZATIONNAME = "My Company"; }'

You need to restart Xcode after running that in Terminal.

I cut and pasted the above string into Terminal and it worked. I then went and checked the plist to see what I was
doing wrong in my previous attempts. I was trying to make PBXCustomTemplateMacroDefinitions a string and then
set the string to the complete value within the quotes. What it actual is is a dictionary with one key/value
pair. The child (key/value) pair is ORGANIZATIONNAME for the property of class String and the value
is My Company.


So basically the problem was my ignorance of the Property List program and how it expects data formatted.

I appreciate the help.

Mike



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >RE: Configuring the xcode environment (From: Jeff Laing <email@hidden>)
 >Re: Configuring the xcode environment (From: Mike Lazear <email@hidden>)
 >Re: Configuring the xcode environment (From: David Ewing <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.