Re: Source of "$(GROUP)"
Re: Source of "$(GROUP)"
- Subject: Re: Source of "$(GROUP)"
- From: Chris Espinosa <email@hidden>
- Date: Fri, 2 Jul 2010 16:56:58 -0700
On Jul 2, 2010, at 3:48 PM, Christiaan Hofman wrote:
> On Jul 3, 2010, at 0:37, Kirk Kerekes wrote:
>
>> I am trying to figure out where Xcode is obtaining its Installation Group ( $(GROUP) ) default setting from, so I can change it -- it is somehow erroneously set to be the same as the owner.
>>
>> "GROUP" is not listed in the "Xcode Settings" docs.
>>
>> Anybody know:
>>
>> 1. What the answer is.
>> 2. Where this answer is documented.
>>
>> Extra points for 2.
>>
>> Thank you.
>>
>
> I can't find any GROUP setting anywhere. Don't you mean INSTALL_GROUP? That one is included in the build settings, is set to "staff" by default AFAICS, and you c an get some documentation when you select it in the build settings of a target or project.
>
> And you cannot change default settings in Xcode, those are hard coded AFAIK.
This turned out to be substantially harder to answer than I originally thought.
Xcode gets most of its default build settings from .xcspec files in Xcode itself, its platforms, plugins, or SDKs, but a few are hard-coded into the project model itself. Among these are:
USER
GROUP
UID
GID
and the MAC_OS_X_VERSION_* and XCODE_VERSION_* version numbers.
GROUP and GID are set at Xcode launch time using standard POSIX calls getegid() and getgrgid().
As Christiaan points out above, nothing in Xcode directly uses $(GROUP), but $(INSTALL_GROUP) is by default defined as $(GROUP) in the Core Build Settings.xcspec plugin.
You shouldn't bother trying to override or redefine GROUP; just set INSTALL_GROUP to the value you want.
Chris
_______________________________________________
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